Skip to content

Commit

Permalink
predict error in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
John Bogaardt committed Jan 30, 2020
1 parent 79a86c2 commit 9d79ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainladder/workflow/gridsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def predict(self, X, sample_weight=None):
if sample_weight:
fit_params = {} if not fit_params else fit_params
fit_params[self.steps[-1][0] + '__sample_weight'] = sample_weight
return super().predict(X, y, **fit_params)
return super().predict(X, **fit_params)


def to_json(self):
Expand Down

0 comments on commit 9d79ae1

Please sign in to comment.