Skip to content

Commit 5c22dec

Browse files
committed
BUG Fixes bug
1 parent 29aa492 commit 5c22dec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/ensemble/_gb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ def _raw_predict(self, X):
736736
predict_stages(self.estimators_, X, self.learning_rate, raw_predictions)
737737
return raw_predictions
738738

739-
def _staged_raw_predict(self, X, check_input=False):
739+
def _staged_raw_predict(self, X, check_input=True):
740740
"""Compute raw predictions of ``X`` for each iteration.
741741
742742
This method allows monitoring (i.e. determine error on testing set)

0 commit comments

Comments
 (0)