A multi-label approach for SMOTE algorithm
Synthetic Minority Oversampling Technique which supports multi-label data. The specific approach, resamples from the representative data that belongs only at the minority class.
frommultiSmote.multi_smoteimportMultiSmoteasmlsmotesmote=mlsmote()
new_x, new_y=smote.multi_smote(X, y)