Skip to content

ENH: Add tqdm to skopt optimization #282

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

Merged
merged 11 commits into from
Mar 31, 2021
Merged

Conversation

crazy25000
Copy link
Contributor

@crazy25000 crazy25000 commented Mar 20, 2021

Resolves #280

Added tqdm progress bar to skopt optimization runs .

TODO:

  • Review/test in notebook + terminal (briefly tested in IDE)
    • Jupyterlab 3.0.12
    • Jupyter notebook 6.2.0
    • Terminal
  • Write new test to account for failing coverage threshold

Screenshot in Jupyterlab. Skopt optimizations is for the change in this PR, plays nicely with other progress bars if you use them.

image

@kernc
Copy link
Owner

kernc commented Mar 31, 2021

Thanks @crazy25000! Apologies for the wait. 🎉

@kernc kernc merged commit f26753b into kernc:master Mar 31, 2021
@crazy25000
Copy link
Contributor Author

@kernc no worries, we're all busy doing something 😄

@crazy25000 crazy25000 deleted the add-tqdm-to-skopt branch April 30, 2021 01:24
Benouare pushed a commit to Benouare/backtesting.py that referenced this pull request Jun 21, 2021
* ENH: Add tqdm to skopt

* MNT: Format long line

* ENH: Pass max_tries as total len, update desc wording

* ENH: Replace skopt class with variable

* ENH: Pass single skopt callback directly instead of in a list

* ENH: Check if tqdm object has update attr

* MNT: Update tqdm description text

* FMT: Use single quotes

* MNT: Refactor pbar to use iter

* MNT: Refactor to meet max line length

* bikeshedding

Fixes kernc#280
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

Successfully merging this pull request may close these issues.

Use tqdm also for skopt optimization
2 participants