src.model.tdcomp.smote

Classes

SMOTE(**kwargs)

class src.model.tdcomp.smote.SMOTE(**kwargs)
Author:

Alberto M. Esmoris Pena

Training data component based on Synthetic Minority Oversampling TEchnique (SMOTE). It transforms the input data by considering the k-nearest neighbors for each point and interpolates between them to generate new samples.

__init__(**kwargs)

Initialize the SMOTE training data component.

Parameters:

kwargs – The attributes for the SMOTE training data component.

__call__(X, y)

Apply the SMOTE to transform the input training data.

See TrainingDataComponent.__call__().