Open vappiah opened 1 year ago
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
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