Re: [Scikit-learn-general] passing optional parameters to fit() when using a pipeline

2015-09-21 Thread okek padokek
You can't get validation part of current CV split in estimator either way. > > On Sun, Sep 20, 2015 at 10:11 PM, okek padokek > wrote: > >> So you are suggesting to pass the validation set as a parameter to the >> __init__() of the estimator? But how do I get the curren

Re: [Scikit-learn-general] passing optional parameters to fit() when using a pipeline

2015-09-20 Thread okek padokek
> > Don't pass any parameters to fit method. Current API assumes that you set > all the parameters in estimator's constructor (__init__ method). It's a bit > nasty to set validation set during construction stage, but there's no > better approach. > > On S

[Scikit-learn-general] passing optional parameters to fit() when using a pipeline

2015-09-20 Thread okek padokek
Hello, I am trying to implement my own estimator. It currently seems to be working. My fit() function is of the form def fit(self, X, y=None): # iteratively tune the params return self I would like to modify my fit() so that it can print out validation costs as it itera