Skip to content

Commit dd335cb

Browse files
committed
DOC SVC.predict_{,log_}proba does not return X
1 parent 97aed28 commit dd335cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/svm/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def predict_proba(self, X):
477477
478478
Returns
479479
-------
480-
X : array-like, shape = [n_samples, n_classes]
480+
T : array-like, shape = [n_samples, n_classes]
481481
Returns the probability of the sample for each class in
482482
the model. The columns correspond to the classes in sorted
483483
order, as they appear in the attribute `classes_`.
@@ -514,7 +514,7 @@ def predict_log_proba(self, X):
514514
515515
Returns
516516
-------
517-
X : array-like, shape = [n_samples, n_classes]
517+
T : array-like, shape = [n_samples, n_classes]
518518
Returns the log-probabilities of the sample for each class in
519519
the model. The columns correspond to the classes in sorted
520520
order, as they appear in the attribute `classes_`.

0 commit comments

Comments
 (0)