Skip to content

Commit

Permalink
[MRG+1] Reorder EllipticEnvelope docstring. (scikit-learn#7734)
Browse files Browse the repository at this point in the history
* Reorder EllipticEnvelope docstring.

* Fix pep8
  • Loading branch information
tguillemot authored and TomDLT committed Oct 24, 2016
1 parent f122efa commit 5c60f1f
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions sklearn/covariance/outlier_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,22 +106,6 @@ class EllipticEnvelope(ClassifierMixin, OutlierDetectionMixin, MinCovDet):
Read more in the :ref:`User Guide <outlier_detection>`.
Attributes
----------
location_ : array-like, shape (n_features,)
Estimated robust location
covariance_ : array-like, shape (n_features, n_features)
Estimated robust covariance matrix
precision_ : array-like, shape (n_features, n_features)
Estimated pseudo inverse matrix.
(stored only if store_precision is True)
support_ : array-like, shape (n_samples,)
A mask of the observations that have been used to compute the
robust estimates of location and shape.
Parameters
----------
store_precision : bool
Expand All @@ -146,6 +130,22 @@ class EllipticEnvelope(ClassifierMixin, OutlierDetectionMixin, MinCovDet):
The amount of contamination of the data set, i.e. the proportion
of outliers in the data set.
Attributes
----------
location_ : array-like, shape (n_features,)
Estimated robust location
covariance_ : array-like, shape (n_features, n_features)
Estimated robust covariance matrix
precision_ : array-like, shape (n_features, n_features)
Estimated pseudo inverse matrix.
(stored only if store_precision is True)
support_ : array-like, shape (n_samples,)
A mask of the observations that have been used to compute the
robust estimates of location and shape.
See Also
--------
EmpiricalCovariance, MinCovDet
Expand Down

0 comments on commit 5c60f1f

Please sign in to comment.