Skip to content
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

TypeError: f() got an unexpected keyword argument 'print_step' #507

Open
vappiah opened this issue Jan 27, 2023 · 0 comments
Open

TypeError: f() got an unexpected keyword argument 'print_step' #507

vappiah opened this issue Jan 27, 2023 · 0 comments

Comments

@vappiah
Copy link

vappiah commented Jan 27, 2023

I am trying to reproduce the tutorial that was specified on yur readthedocs page:https://pyswarms.readthedocs.io/en/development/examples/feature_subset_selection.html
I get an error when I get to this line
cost, pos = optimizer.optimize(f, print_step=100, iters=1000, verbose=2)

Below is the error message
TypeError: f() got an unexpected keyword argument 'print_step'

Please advice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant