Answers for "oversampling using smote"

0

oversampling using smote

# oversampling using adasyn
from imblearn.over_sampling import ADASYN
ada = ADASYN(random_state = 42)
x_train_ada, y_train_ada = ada.fit_resample(x_train,y_train)
Posted by: Guest on April-11-2021

Python Answers by Framework

Browse Popular Code Answers by Language