diff --git a/comparing_epsilons.jl b/comparing_epsilons.jl index de9fbc9..6fcf110 100644 --- a/comparing_epsilons.jl +++ b/comparing_epsilons.jl @@ -2,6 +2,8 @@ using Distributions using Random using Plots +Random.seed!(0); + mutable struct BanditArm m::Number #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_01 = run_experiment(m1,m2,m3,0.01,100000); -plot(c_1,show=false) -plot!(c_05,show=false) +plot(c_1) +plot!(c_05) plot!(c_01) -