analyticalmindsltd / smote_variants

A collection of 85 minority oversampling techniques (SMOTE) for imbalanced learning with multi-class oversampling and model selection features
http://smote-variants.readthedocs.io
MIT License
631 stars 137 forks source link

How to vary the "proportion" parameter - MulticlassOversampling class #42

Open jnatmed opened 2 years ago

jnatmed commented 2 years ago

Hello, I am trying to vary the proportion parameter in the MulticlassOversampling class:

I tried passing passing through the declaration of an instance of the class, but when executing it it had no effect.

image

I also tried in the declaration of the distance_SMOTE(proportion=0.5) method.

image This is so, because the MulticlassOversampling class creates examples until it matches the majority class. However, I want to try different variants and not only create up to 100%, but 75 or 50%. I hope I made myself understood.