-
Notifications
You must be signed in to change notification settings - Fork 335
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
Verbose option is missing (it is in documents) #340
Comments
Yup, we’re fixing the docs now. Sorry for the confusion! |
Any plan to add it to the code? I've already added it to the local version.
|
As of now we’re planning to add it in the code, but I might release the new version this weekend. For now please use your local changes and maybe open up a PR. Sorry I haven’t been on top of Issues, work got reallyy busyy |
Hi documentation is now updated! Will be closing this issue now 👍 |
Where are you making these changes? I also need to turn off verbose option as it is constantly printing messages I dont want to see. To me this is quite essential option to have. |
Hi @devkicks , we haven't added it up in the codebase and just updated the documentation. Would you be able to help out in creating a PR for this? |
@ljvmiranda921 I think we can easily implement this feature, though. We just add a |
^Hi @whzup sorry I wasn't able to reply properly, ok I think that works! |
Adding the |
There are three places: pyswarms\single\global_best.py search for self.rep.hook(best_cost=self.swarm.best_cost) and add that condition. In addition, you should add verbose=False in function declaration. I can change the code if it's required. |
Hi @msat59 @nishnash54 sorry I don't have the bandwidth to do new updates. If you can open a PR on this that would be great! Let's do @msat59 's version first, then maybe work on @nishnash54 's suggestion. |
I rechecked my fix now, after a year. It's not completely verbose. I will check it tomorrow morning. |
I finally fixed the verbosity; I'll update the codes when I found out how to do it. (I'm new on Github) |
Hi.
Please bring back the verbose option. I need to disable progress bar. I can disable it in the code; but it's better to have it as an option.
According to the documents, optimize should have the option; but both verbose and print_step have been removed.
optimizer.optimize(f, print_step=100, iters=1000, verbose=2)
Thanks.
The text was updated successfully, but these errors were encountered: