Kamerer
Kamerer

Reputation: 77

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!

Upvotes: 5

Views: 1056

Answers (2)

Andreas Mueller
Andreas Mueller

Reputation: 28788

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

Upvotes: 3

ogrisel
ogrisel

Reputation: 40169

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.

Upvotes: 5

Related Questions