Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit adf74e2

Browse files
authored
DOC Fix typo in _process_decision_function (#30358)
1 parent 426e6be commit adf74e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/utils/_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def _process_decision_function(*, y_pred, target_type, classes, pos_label):
8484
Parameters
8585
----------
8686
y_pred : ndarray
87-
Output of `estimator.predict_proba`. The shape depends on the target type:
87+
Output of `estimator.decision_function`. The shape depends on the target type:
8888
8989
- for binary classification, it is a 1d array of shape `(n_samples,)` where the
9090
sign is assuming that `classes[1]` is the positive class;

0 commit comments

Comments
 (0)