Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1924b0a

Browse filesBrowse files
authored
DOC Updates confusion_matrix.py to match parameter in code(#18938)
1 parent e4af84e commit 1924b0a
Copy full SHA for 1924b0a

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎sklearn/metrics/_plot/confusion_matrix.py

Copy file name to clipboardExpand all lines: sklearn/metrics/_plot/confusion_matrix.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def plot_confusion_matrix(estimator, X, y_true, *, labels=None,
182182
X : {array-like, sparse matrix} of shape (n_samples, n_features)
183183
Input values.
184184
185-
y : array-like of shape (n_samples,)
185+
y_true : array-like of shape (n_samples,)
186186
Target values.
187187
188188
labels : array-like of shape (n_classes,), default=None

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.