Re: [Scikit-learn-general] issue with custom regressor in the pipeline

2015-05-19 Thread Fred Mailhot
Parenthesis error in the estimators list? estimators = [('my_regressor', myRegressor(blahblah)), ...] On 19 May 2015 at 15:47, Pagliari, Roberto wrote: > I'm trying to add a custom regressor to a pipeline. > For debugging purposes I commented everything out. > > class m

[Scikit-learn-general] issue with custom regressor in the pipeline

2015-05-19 Thread Pagliari, Roberto
I'm trying to add a custom regressor to a pipeline. For debugging purposes I commented everything out. class myRegressor(BaseEstimator, TransformerMixin): def __init__(self, k=0, njobs=1, cv=6, nestimators=50): pass def fit(self, X, y=None): return self def transform(