How to obtain GridSearchCV partly finished results?
Asked Answered
A

2

5

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!

Alburg answered 8/1, 2014 at 0:39 Comment(0)
L
5

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.

Loisloise answered 8/1, 2014 at 8:3 Comment(0)
C
3

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

Conant answered 9/1, 2014 at 0:5 Comment(2)
Thanks, that will be useful, but the process is already running.Alburg
Just to add: if you are using IPython Notebook, the output is in the IPython terminal window, not in the interactive session.Vesicatory

© 2022 - 2024 — McMap. All rights reserved.