Changed plots on a script
This commit is contained in:
parent
0cf8046f47
commit
6d6b0a5186
|
@ -2,6 +2,8 @@ using Distributions
|
||||||
using Random
|
using Random
|
||||||
using Plots
|
using Plots
|
||||||
|
|
||||||
|
Random.seed!(0);
|
||||||
|
|
||||||
mutable struct BanditArm
|
mutable struct BanditArm
|
||||||
m::Number #the win rate
|
m::Number #the win rate
|
||||||
m_estimate::Number #How to estimate the win rate
|
m_estimate::Number #How to estimate the win rate
|
||||||
|
@ -66,7 +68,6 @@ c_1 = run_experiment(m1,m2,m3,0.1,100000);
|
||||||
c_05 = run_experiment(m1,m2,m3,0.05,100000);
|
c_05 = run_experiment(m1,m2,m3,0.05,100000);
|
||||||
c_01 = run_experiment(m1,m2,m3,0.01,100000);
|
c_01 = run_experiment(m1,m2,m3,0.01,100000);
|
||||||
|
|
||||||
plot(c_1,show=false)
|
plot(c_1)
|
||||||
plot!(c_05,show=false)
|
plot!(c_05)
|
||||||
plot!(c_01)
|
plot!(c_01)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue