0 votes
1 view
in Data Science by (13.1k points)

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?

1 Answer

0 votes
by (19.9k points)

Set the verbose parameter in GridSearchCV to a positive number (the greater the number the more detail you will get. 


GridSearchCV(clf, param_grid, cv=cv, scoring='accuracy', verbose=10)