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
    Commented Oct 15, 2020 at 0:01
  • $\begingroup$ RandomScaler does outlier treatment with IRQ. $\endgroup$ Commented Dec 6, 2020 at 19:30

1 Answer 1

1
$\begingroup$

Here are a couple of other options:

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

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

  • Apply 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 and acknowledge you have read our privacy policy.

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