Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamgupta2 committed Oct 28, 2022
1 parent 0f8ed36 commit cc44e05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tflip_vs_eps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tflip_vs_m.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit cc44e05

Please sign in to comment.