8000 docstring fix reflecting #9048 · ivannz/scikit-learn@d8187d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit d8187d9

Browse files
ivannzivannz
authored andcommitted
docstring fix reflecting scikit-learn#9048
1 parent dc885f4 commit d8187d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sklearn/svm/classes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,9 @@ def fit(self, X, y=None, sample_weight=None, **params):
13721372
return self
13731373

13741374
def decision_function(self, X):
1375-
"""Distance of the samples X to the separating hyperplane.
1375+
"""Signed distance to the enveloping hypersphere.
1376+
1377+
Signed distance is positive for an inlier and negative for an outlier.
13761378
13771379
Parameters
13781380
----------

0 commit comments

Comments
 (0)
0