Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
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. 

Example:

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

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...