outlierBySd

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

Builtin function for detecting and repairing outliers using standard deviation

Parameters:
  • X – Matrix X

  • k – threshold values 1, 2, 3 for 68%, 95%, 99.7% respectively (3-sigma rule)

  • repairMethod – values: 0 = delete rows having outliers, 1 = replace outliers as zeros 2 = replace outliers as missing values

  • max_iterations – values: 0 = arbitrary number of iteration until all outliers are removed, n = any constant defined by user

Returns:

Matrix X with no outliers