Skip to content

Commit cceeed2

Browse files
authored
Update winsorizer.py (#332)
1 parent 702328d commit cceeed2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

feature_engine/outliers/winsorizer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Winsorizer(BaseOutlier):
5252
5353
If `capping_method='iqr'` fold is the value to multiply the IQR.
5454
55-
If `capping_method='quantile'`, fold is the percentile on each tail that should
55+
If `capping_method='quantiles'`, fold is the percentile on each tail that should
5656
be censored. For example, if fold=0.05, the limits will be the 5th and 95th
5757
percentiles. If fold=0.1, the limits will be the 10th and 90th percentiles.
5858
@@ -88,11 +88,11 @@ class Winsorizer(BaseOutlier):
8888
or 3 for the gaussian approximation, or 1.5 or 3 for the IQR proximity
8989
rule.
9090
91-
If `capping_method='quantile'`, then `'fold'` indicates the percentile. So if
91+
If `capping_method='quantiles'`, then `'fold'` indicates the percentile. So if
9292
`fold=0.05`, the limits will be the 95th and 5th percentiles.
9393
9494
**Note**: Outliers will be removed up to a maximum of the 20th percentiles on
95-
both sides. Thus, when `capping_method='quantile'`, then `'fold'` takes values
95+
both sides. Thus, when `capping_method='quantiles'`, then `'fold'` takes values
9696
between 0 and 0.20.
9797
9898
variables: list, default=None

0 commit comments

Comments
 (0)