UQ_Imbalance.py is still the practice one

This commit is contained in:
Tanushree Tunstall 2022-05-28 11:26:29 +01:00
parent f2634f77ef
commit dd39519234

View file

@ -64,7 +64,7 @@ X_rus, y_rus = undersample.fit_resample(X, y)
print(X_rus.shape) #142 print(X_rus.shape) #142
#------------------------------ #------------------------------
# Simple combine ROS and RUS # Simple ROS and RUS
# [Numerical + catgeorical] # [Numerical + catgeorical]
#------------------------------ #------------------------------
oversample = RandomOverSampler(sampling_strategy='minority') oversample = RandomOverSampler(sampling_strategy='minority')