-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typo in bench_methods_run.py #82
Comments
@dinalzein can you send a PR? |
yes. |
Also, for |
Yes please
|
Done. in the same class bench_methods_run.py, the following can be added:
just before the last two lines in the main function to avoid file doesn't exist error (I didn't include it in the PR, but I can do another one). I got an error inn bench_methods_plot.py, for the and replacing by:
worked fine for me. |
There is a typo in bench_methods_run.py for methods:
run_fista
andrun_l_bfgs
.In method
run_fista
:pobj, times, d_hat, z_hat = learn_d_z(X, n_atoms, n_times_atom, func_d=update_d_block, reg=reg, n_iter=n_iter, random_state=random_state, n_jobs=1, solver_z='fista', solver_z_kwargs=dict(max_iter=2), ds_init=ds_init, verbose=verbose)
should be replaced by:
pobj, times, d_hat, z_hat, reg = learn_d_z(X, n_atoms, n_times_atom, func_d=update_d_block, reg=reg, n_iter=n_iter, random_state=random_state, n_jobs=1, solver_z='fista', solver_z_kwargs=dict(max_iter=2), ds_init=ds_init, verbose=verbose)
same modification can be applied to
run_l_bfgs
The text was updated successfully, but these errors were encountered: