8000 staged_predict predicts classes, not probabilites · rmurcek/scikit-learn@1d0da8a · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d0da8a

Browse files
author
abhishek thakur
committed
staged_predict predicts classes, not probabilites
1 parent 720b77f commit 1d0da8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/ensemble/gradient_boosting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ def predict(self, X):
11861186
return self.classes_.take(np.argmax(proba, axis=1), axis=0)
11871187

11881188
def staged_predict(self, X):
1189-
"""Predict class probabilities at each stage for X.
1189+
"""Predict classes at each stage for X.
11901190
11911191
This method allows monitoring (i.e. determine error on testing set)
11921192
after each stage.

0 commit comments

Comments
 (0)
0