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
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(