1
$\begingroup$

I have a feature with all the values between 0 and 1 except few outliers larger than 1. I am trying to collect all the methods that can help to decrease outliers' influence on non-tree models:

  • StandardScaler
  • Apply rank transform to the features
  • Apply np.log1p(x) transform to the data
  • MinMaxScaler
  • Winsorization

I wasn't able to imagine any other ... I guess that's all?

$\endgroup$
2
  • 1
    $\begingroup$ There's also removing the instances with outlier values, if that's an option. $\endgroup$
    – Erwan
    Oct 15 '20 at 0:01
  • $\begingroup$ RandomScaler does outlier treatment with IRQ. $\endgroup$ Dec 6 '20 at 19:30
0
$\begingroup$

Here are couple of other options:

  • Set a threshold and remove all values larger than the threshold

  • RobustScaler which removes the median and scales the data according to the quantile range.

  • QuantileTransformer which transforms the feature to follow a uniform or a normal distribution.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.