I'm using sklearn GridSearchCV(SomeModel, SomeTunedParams, SomeScoring ,verbose=10)
I need to get all output generated by verbose in a file, especially this kind of rows :
[CV] n_estimators=50, max_depth=8, class_weight=subsample, score=0.944444 - 0.3s
In fact it's a more general question related to sklearn fit method.
The goal is to put this stdout into a logfile.log