Skip to content

Commit 51acc9d

Browse files
author
Yi-Yan Ge
authored
DOC Fix doc of fit_predict in neighbors/_lof.py (#18754)
1 parent 61beb3b commit 51acc9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklearn/neighbors/_lof.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def __init__(self, n_neighbors=20, *, algorithm='auto', leaf_size=30,
193193
def fit_predict(self):
194194
"""Fits the model to the training set X and returns the labels.
195195
196-
**Only available for novelty detection (when novelty is set to True).**
196+
**Not available for novelty detection (when novelty is set to True).**
197197
Label is 1 for an inlier and -1 for an outlier according to the LOF
198198
score and the contamination parameter.
199199

0 commit comments

Comments
 (0)