Skip to content

Commit 399131c

Browse files
authored
DOC update description of support_vectors_ (scikit-learn#26866)
1 parent b13f69c commit 399131c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/svm/_classes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ class SVC(BaseSVC):
774774
Indices of support vectors.
775775
776776
support_vectors_ : ndarray of shape (n_SV, n_features)
777-
Support vectors.
777+
Support vectors. An empty array if kernel is precomputed.
778778
779779
n_support_ : ndarray of shape (n_classes,), dtype=int32
780780
Number of support vectors for each class.

0 commit comments

Comments
 (0)