smote

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

Builtin function for handing class imbalance using Synthetic Minority Over-sampling Technique (SMOTE) by Nitesh V. Chawla et. al. In Journal of Artificial Intelligence Research 16 (2002). 321–357

Parameters:
  • X – Matrix of minority class samples

  • mask – 0/1 mask vector where 0 represent numeric value and 1 represent categorical value

  • s – Amount of SMOTE (percentage of oversampling), integral multiple of 100

  • k – Number of nearest neighbor

  • verbose – if the algorithm should be verbose

Returns:

Matrix of (N/100)-1 * nrow(X) synthetic minority class samples