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

Add tqdm integration for progress tracking in GridSearchCV #26532

Closed
apollner opened this issue Jun 7, 2023 · 3 comments
Closed

Add tqdm integration for progress tracking in GridSearchCV #26532

apollner opened this issue Jun 7, 2023 · 3 comments
Labels
Needs Triage Issue requires triage New Feature

Comments

@apollner
Copy link

apollner commented Jun 7, 2023

Describe the workflow you want to enable

I believe it would be beneficial to integrate tqdm into GridSearchCV for more detailed and user-friendly progress tracking. While the verbose parameter provides some information, a progress bar could give users a better sense of how long the process will take. This could be particularly useful for large parameter grids that take a long time to process.

Describe your proposed solution

One potential way to implement this would be to wrap the parameter grid in a tqdm object in the _run_search method. However, this would introduce a new dependency on tqdm, and it might not be consistent with the rest of the library's interface. I'm interested to hear the thoughts of the maintainers and other users on this idea.

Describe alternatives you've considered, if relevant

No response

Additional context

No response

@apollner apollner added Needs Triage Issue requires triage New Feature labels Jun 7, 2023
@jeremiedbb
Copy link
Member

Hi @apollner, this feature has been requested many times. This is the kind of feature that will be possible with a callback api (#22000) which is work in progress.
I'm closing this issue as duplicate of #7574

@ritog
Copy link

ritog commented Oct 4, 2023

@jeremiedbb will wait for the callback functionality to drop soon!

Forever wanted to use tqdm with GridSearchCV.

@mikbuch
Copy link

mikbuch commented Dec 8, 2023

Up for this request. It would be best to just pass tqdm object to GridSearchCV, or to request it with a flag, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Triage Issue requires triage New Feature
Projects
None yet
Development

No branches or pull requests

4 participants