Changed plots on a script

This commit is contained in:
Eduardo Cueto Mendoza 2021-01-02 13:04:08 +00:00
parent 0cf8046f47
commit 6d6b0a5186
1 changed files with 4 additions and 3 deletions

View File

@ -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)