On 01/23/2015 07:35 PM, Aardvark Zebra wrote:
> Thanks! It seems very counter-intuitive. If I'm calling fit(), it
> should return the
> best model after grid search (especially if I'm giving refit=True as a
> parameter).
> Unfortunately, printing the return value doesn't show the best
> estimato
On 01/23/2015 07:35 PM, Aardvark Zebra wrote:
Thanks! It seems very counter-intuitive. If I'm calling fit(), it
should return the
best model after grid search (especially if I'm giving refit=True as a
parameter).
Unfortunately, printing the return value doesn't show the best
estimator; even
the
Thanks! It seems very counter-intuitive. If I'm calling fit(), it should
return the
best model after grid search (especially if I'm giving refit=True as a
parameter).
Unfortunately, printing the return value doesn't show the best estimator;
even
the get_params() call doesn't reveal it. One has to a
That's not the learnt estimator. You're looking at the initial input (i.e.
the parameters that are or are not changed during the search). The learnt
estimators are cloned from that one, and the best is stored at
clf.best_estimator_ (if refit=True).
Cheers, Joel
On 23 January 2015 at 12:20, Aardva