Skip to content

Commit 52c46d3

Browse files
thomasjpfanqinhanmin2014
authored andcommitted
DOC Fixes lof example for numpydoc to parse (scikit-learn#15379)
1 parent 5756a99 commit 52c46d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sklearn/neighbors/_lof.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ class LocalOutlierFactor(NeighborsBase, KNeighborsMixin, UnsupervisedMixin,
144144
case, the offset is defined in such a way we obtain the expected
145145
number of outliers in training.
146146
147-
Example
148-
-------
147+
Examples
148+
--------
149149
>>> import numpy as np
150150
>>> from sklearn.neighbors import LocalOutlierFactor
151151
>>> X = [[-1.1], [0.2], [101.1], [0.3]]

0 commit comments

Comments
 (0)