diff --git a/tflip_vs_eps.py b/tflip_vs_eps.py index 22ba42f..661304f 100644 --- a/tflip_vs_eps.py +++ b/tflip_vs_eps.py @@ -21,8 +21,8 @@ inputfilename_rsm3 = 'data/tailflip-loss-vs-eps-pkl' outputfilename_rsm3 = 'figs/tailflip-loss-vs-eps.pdf' plot_m_loss_rsm3 = rl.load_data(model_rsm3, model_params_rsm3, rl.err, keys_rsm3) -plot_m_loss_rsm3.setdata_tofile(inputfilename_rsm3, 'eps', eps_bounds_rsm3, trials_rsm3, ylims_rsm3, explicit_xs=False, xs=xs) -title_rsm3 = 'd = {d}, k = {k}, m = {m}, Noise is tail flipping'.format(d=d_rsm3, k=k_rsm3, m=m_rsm3) +#plot_m_loss_rsm3.setdata_tofile(inputfilename_rsm3, 'eps', eps_bounds_rsm3, trials_rsm3, ylims_rsm3, explicit_xs=False, xs=xs) +title_rsm3 = 'd = {d}, k = {k}, n = {m}, Noise is tail flipping'.format(d=d_rsm3, k=k_rsm3, m=m_rsm3) xlabel_rsm3 = 'eps' ylabel_rsm3 = 'L2 loss' plot_m_loss_rsm3_plt = rl.plot_data(model_rsm3, model_params_rsm3, rl.err, keys_rsm3) diff --git a/tflip_vs_m.py b/tflip_vs_m.py index 1412146..d0f77fa 100644 --- a/tflip_vs_m.py +++ b/tflip_vs_m.py @@ -8,7 +8,7 @@ d_rsm3, k_rsm3, eps_rsm3 = 10, 1, 0.1 nItrs_rsm3 = 200 -m_bounds_rsm3 = (2, 1000, 10) +m_bounds_rsm3 = (2, 12000, 100) model_rsm3 = rl.TailFlipModel()