saving and organising work to call form cmd line
This commit is contained in:
parent
d9a1888e8c
commit
f2634f77ef
5 changed files with 232 additions and 106 deletions
|
@ -56,7 +56,7 @@ X_ros, y_ros = oversample.fit_resample(X, y)
|
|||
print(X_ros.shape) #228
|
||||
|
||||
#------------------------------
|
||||
# Simple Random oversampling
|
||||
# Simple Random undersampling
|
||||
# [Numerical + catgeorical]
|
||||
#------------------------------
|
||||
undersample = RandomUnderSampler(sampling_strategy='majority')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue