Desde imblearn.over_sampling Error de smote de importación
# install imblearn on your notebook
!pip3 install imblearn
from imblearn.over_sampling import SMOTE
X_resampled, Y_resampled = SMOTE().fit_resample(X, Y)
print("Resampled shape of X: ", X_resampled.shape)
print("Resampled shape of Y: ", Y_resampled.shape)
Khola GenZ