Skip to content

Commit 55c9443

Browse files
1kastnerTomDLT
authored andcommitted
Add information what +1 and -1 means (scikit-learn#8891)
1 parent 4c33ea2 commit 55c9443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/svm/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def _sparse_fit(self, X, y, sample_weight, solver_type, kernel,
293293
def predict(self, X):
294294
"""Perform regression on samples in X.
295295
296-
For an one-class model, +1 or -1 is returned.
296+
For an one-class model, +1 (inlier) or -1 (outlier) is returned.
297297
298298
Parameters
299299
----------

0 commit comments

Comments
 (0)