How to obtain GridSearchCV partly finished results?

1k Views Asked by At

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!

2

There are 2 best solutions below

2
On

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

0
On

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.