Skip to content

Commit b4df4cd

Browse files
ndawearjoly
authored andcommitted
doc: fix default
1 parent 4657705 commit b4df4cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/metrics/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ def precision_recall_curve(y_true, probas_pred, pos_label=None,
762762
probas_pred : array, shape = [n_samples]
763763
Estimated probabilities or decision function.
764764
765-
pos_label : int, optional (default=1)
765+
pos_label : int, optional (default=None)
766766
The label of the positive class
767767
768768
sample_weight : array-like of shape = [n_samples], optional

0 commit comments

Comments
 (0)