Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c60f1f

Browse files
tguillemotTomDLT
authored andcommitted
[MRG+1] Reorder EllipticEnvelope docstring. (scikit-learn#7734)
* Reorder EllipticEnvelope docstring. * Fix pep8
1 parent f122efa commit 5c60f1f

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

sklearn/covariance/outlier_detection.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -106,22 +106,6 @@ class EllipticEnvelope(ClassifierMixin, OutlierDetectionMixin, MinCovDet):
106106
107107
Read more in the :ref:`User Guide <outlier_detection>`.
108108
109-
Attributes
110-
----------
111-
location_ : array-like, shape (n_features,)
112-
Estimated robust location
113-
114-
covariance_ : array-like, shape (n_features, n_features)
115-
Estimated robust covariance matrix
116-
117-
precision_ : array-like, shape (n_features, n_features)
118-
Estimated pseudo inverse matrix.
119-
(stored only if store_precision is True)
120-
121-
support_ : array-like, shape (n_samples,)
122-
A mask of the observations that have been used to compute the
123-
robust estimates of location and shape.
124-
125109
Parameters
126110
----------
127111
store_precision : bool
@@ -146,6 +130,22 @@ class EllipticEnvelope(ClassifierMixin, OutlierDetectionMixin, MinCovDet):
146130
The amount of contamination of the data set, i.e. the proportion
147131
of outliers in the data set.
148132
133+
Attributes
134+
----------
135+
location_ : array-like, shape (n_features,)
136+
Estimated robust location
137+
138+
covariance_ : array-like, shape (n_features, n_features)
139+
Estimated robust covariance matrix
140+
141+
precision_ : array-like, shape (n_features, n_features)
142+
Estimated pseudo inverse matrix.
143+
(stored only if store_precision is True)
144+
145+
support_ : array-like, shape (n_samples,)
146+
A mask of the observations that have been used to compute the
147+
robust estimates of location and shape.
148+
149149
See Also
150150
--------
151151
EmpiricalCovariance, MinCovDet

0 commit comments

Comments
 (0)