I am using GridSearch
from sklearn
to optimize parameters of the classifier. There is a lot of data, so the whole process of optimization takes a while: more than a day. I would like to watch the performance of the already-tried combinations of parameters during the execution. Is it possible?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
Check out the GridSearchCVProgressBar
Just found it right now and I'm using it. Very into it:
I would just like to complement DavidS's answer
To give you an idea, for a very simple case, this is how it looks with
verbose=1
:And this is how it looks with
verbose=10
:In my case,
verbose=1
does the trick.Set the
verbose
parameter inGridSearchCV
to a positive number (the greater the number the more detail you will get). For instance: