winsorize

systemds.operator.algorithm.winsorize(X: Matrix, verbose: bool, **kwargs: Dict[str, DAGNode | str | int | float | bool])

The winsorize-function removes outliers from the data. It does so by computing upper and lower quartile range of the given data then it replaces any value that falls outside this range (less than lower quartile range or more than upper quartile range).

Parameters:
  • X – Input feature matrix

  • verbose – To print output on screen

Returns:

Matrix without outlier values