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 print statements to RandomSearchCV and GridSearchCV #21537

Closed
avivfaraj opened this issue Nov 2, 2021 · 2 comments
Closed

Add print statements to RandomSearchCV and GridSearchCV #21537

avivfaraj opened this issue Nov 2, 2021 · 2 comments

Comments

@avivfaraj
Copy link

Describe the workflow you want to enable

It is not a new algorithm, I was just frustrated running Grid and Random SearchCV for hours without knowing when it ends. It should be easy to add a print statement to inform the user about the process. It could be a percentage (let's say 80% done), or just to inform which parameters have been used in each iteration, so the user knows it is working.

Describe your proposed solution

Either print parameters in each iteration
or
calculate how many iteration there are, and print the percentage done so far.

Describe alternatives you've considered, if relevant

No response

Additional context

No response

@jeertmans
Copy link

Hello @avivfaraj , have you tried to set the verbose flag to a nonzero value?
It might give you what your are looking for.

@glemaitre
Copy link
Member

As mentioned by @jeertmans verbose provides some info already. However, we will not add more printing information and instead lean towards a logging mechanism. So this issue is kind of a duplicate of #17439

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

No branches or pull requests

3 participants