Skip to content

Commit

Permalink
FIX predict
Browse files Browse the repository at this point in the history
  • Loading branch information
rushter committed May 26, 2016
1 parent 206f1a1 commit 430216a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion heamy/estimator.py
Expand Up @@ -105,7 +105,8 @@ def _predict(self, X_train, y_train, X_test, y_test=None):
if result.shape[1] == 2:
result = result[:, 1]
else:
result = self._estimator(X_train, y_train, X_test, y_test=None, **self.parameters)
result = self._estimator(X_train=X_train, y_train=y_train,
X_test=X_test, y_test=y_test, **self.parameters)

return result

Expand Down

0 comments on commit 430216a

Please sign in to comment.