MBUNGA KOREA 170 Iphone 6s F 因此,我希望使用SMOTENC', data = Data)x = Data.drop('GENDER', axis=1)
from imblearn.over_sampling import SMOTENCsmote_nc = SMOTENC(categorical_features=[0,3], ran
683 non-null int64 因此,在dtype转换之后,当我尝试下面的SMOTENCinstall imblearn (if you don't have imblearn in your system)
from imblearn.over_sampling import SMOTE, SMOTENCsm = SMOTENC(categorical_features=cat_index,random_state = 2,sampling_strat