Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to obtain GridSearchCV partly finished results?

I have started a grid search for SVM parameters in a rather wide range.

The most of the search space have been calculated and now I got one last process, which goes already for 100 hours.

I'd like to see the results, that already have been calculated. Is there any way to do it? Thanks in advance!

like image 799
Kamerer Avatar asked Jan 08 '14 00:01

Kamerer


2 Answers

Unfortunately the current GridSearchCV implementation has no async / background mode. However you can implement your own custom scorer object to save the partial results to a database or some files on the disk to monitor the progress.

like image 59
ogrisel Avatar answered Nov 14 '22 22:11

ogrisel


You can set the verbose option to a value >0. That will at least give you the results on stdout.

like image 42
Andreas Mueller Avatar answered Nov 14 '22 21:11

Andreas Mueller