UQ_Imbalance.py is still the practice one
This commit is contained in:
parent
f2634f77ef
commit
dd39519234
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ X_rus, y_rus = undersample.fit_resample(X, y)
|
|||
print(X_rus.shape) #142
|
||||
|
||||
#------------------------------
|
||||
# Simple combine ROS and RUS
|
||||
# Simple ROS and RUS
|
||||
# [Numerical + catgeorical]
|
||||
#------------------------------
|
||||
oversample = RandomOverSampler(sampling_strategy='minority')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue