Explore Courses Blog Tutorials Interview Questions
0 votes
in Data Science by (17.6k 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 (41.4k 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)  

Browse Categories