Skip to content

Commit

Permalink
Format improvement and docstring enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao062 authored and yuezhao@cs.toronto.edu committed Nov 28, 2018
1 parent c9f156f commit 0e72a3c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pyod/models/sos.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SOS(BaseDetector):
has little affinity with a dissimilar data point. A data point is
selected as an outlier when all the other data points have insufficient
affinity with it.
Read more in the :ref:`HHERE`.
Read more in the :cite:`janssens2012stochastic`.
Parameters
----------
Expand Down Expand Up @@ -96,11 +96,8 @@ class SOS(BaseDetector):
>>> clf = SOS()
>>> clf.fit(X_train)
>>> print(clf.decision_scores_)
Reference
----------
:cite:`janssens2012stochastic`
"""

def __init__(self, contamination=0.1, perplexity=30, metric='euclidean',
Expand Down

0 comments on commit 0e72a3c

Please sign in to comment.