Re: [Scikit-learn-general] custom regressor keeps failing

2015-02-17 Thread Pagliari, Roberto
, 2015 7:08 PM To: scikit-learn-general@lists.sourceforge.net Subject: Re: [Scikit-learn-general] custom regressor keeps failing On 02/17/2015 03:50 PM, Pagliari, Roberto wrote: > I see. But in my case I have things like > > for i in xrange(0, num_experiments): > estimators = # s

Re: [Scikit-learn-general] custom regressor keeps failing

2015-02-17 Thread Andy
On 02/17/2015 03:50 PM, Pagliari, Roberto wrote: > I see. But in my case I have things like > > for i in xrange(0, num_experiments): > estimators = # some pipeline >etc... > > so estimators should be "re-created" everytime. What do you mean by re-created? And where? if you construct your

Re: [Scikit-learn-general] custom regressor keeps failing

2015-02-17 Thread Pagliari, Roberto
bruary 17, 2015 6:42 PM To: scikit-learn-general@lists.sourceforge.net Subject: Re: [Scikit-learn-general] custom regressor keeps failing On 02/16/2015 03:58 PM, Vlad Niculae wrote: > > >> 1) Except for the first iteration of grid search, all other times the >> lists I

Re: [Scikit-learn-general] custom regressor keeps failing

2015-02-17 Thread Andy
On 02/16/2015 03:58 PM, Vlad Niculae wrote: > > >> 1) Except for the first iteration of grid search, all other times the >> lists I print from within __init__() function are None > I’m not 100% sure but I think this is expected. You are only printing things > from `__init__`, but grid se

Re: [Scikit-learn-general] custom regressor keeps failing

2015-02-16 Thread Vlad Niculae
Hi Roberto, Everything I say below is also explained in the developers documentation that I linked to in the other e-mail. [1] You are breaking some conventions that make the default `get_params` and `set_params` not work well. As I said in the other thread, fitted attributes are suffixed with