From dff23e1560a9b750e3e3a15f250fa991fc618f7a Mon Sep 17 00:00:00 2001 From: Lucy Liu Date: Thu, 28 Nov 2024 10:35:51 +1100 Subject: [PATCH] typo --- sklearn/utils/_response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/utils/_response.py b/sklearn/utils/_response.py index 86c430dbd23f2..12cbff2230b17 100644 --- a/sklearn/utils/_response.py +++ b/sklearn/utils/_response.py @@ -84,7 +84,7 @@ def _process_decision_function(*, y_pred, target_type, classes, pos_label): Parameters ---------- y_pred : ndarray - Output of `estimator.predict_proba`. The shape depends on the target type: + Output of `estimator.decision_function`. The shape depends on the target type: - for binary classification, it is a 1d array of shape `(n_samples,)` where the sign is assuming that `classes[1]` is the positive class;