Skip to content

Commit 93c8a23

Browse files
committed
fix docstring
1 parent 26a3ced commit 93c8a23

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

skore/src/skore/_sklearn/_estimator/metrics_accessor.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2095,8 +2095,7 @@ def confusion_matrix(
20952095
pos_label : int, float, bool, str or None, default=_DEFAULT
20962096
The label to consider as the positive class when computing the metric. Use
20972097
this parameter to override the positive class. By default, the positive
2098-
class is set to the one provided when creating the report. If `None`,
2099-
the metric is computed considering each class as a positive class.
2098+
class is set to the one provided when creating the report.
21002099
21012100
Returns
21022101
-------

skore/src/skore/_sklearn/_plot/metrics/confusion_matrix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,8 @@ def _compute_data_for_display(
232232
Display labels for plot.
233233
234234
pos_label : int, float, bool, str or None
235-
The class considered as the positive class when computing the
236-
precision and recall metrics.
235+
The class considered as the positive class when displaying the confusion
236+
matrix.
237237
238238
threshold : bool, default=False
239239
Whether to compute the confusion matrix at different thresholds.

0 commit comments

Comments
 (0)