Replies: 2 comments
-
I have the same question. Scikit-learn version = 1.3.1 |
Beta Was this translation helpful? Give feedback.
0 replies
-
In scikit-learn 1.4.0.dev0, I am getting:
The verbose option works. However, there is a known bug with notebooks: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In scikit-learn 0.24.0 or above when you use either GridSearchCV or RandomizedSearchCV and set n_jobs=-1, with setting any verbose number (1, 2, 3, or 100) no progress messages gets printed. However, if you use scikit-learn 0.23.2 or lower, everything works as expected and joblib prints the progress messages.
Here is a sample code you can use to repeat my experiment in Colab or Jupyter notebook:
Results using scikit-learn 0.23.2:
Results using scikit-learn 0.24.0 (tested up to v1.0.2):
It appears to me that scikit-learn 0.24.0 or above are not sending "verbose" value to joblib and therefore, the progress is not printing when multiprocessors are used in GridSearch or RandomizedSearchCV with "loky" backend.
Any idea how to solve this issue in Google Colab or Jupyter Notebook and get the progress log printed for sklearn 0.24.0 or above?
Beta Was this translation helpful? Give feedback.
All reactions