Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The difference between smote.fit_sample() and smote.fit_resample()

In imblearn, what is the difference between smote.fit_sample() and smote.fit_resample(), and when should we use one over the other?

like image 537
Manish KC Avatar asked May 03 '26 10:05

Manish KC


1 Answers

fit_sample was replaced with fit_resample. Changelog v0.4

Based on the diff, specifically: fit_sample = fit_resample; it looks like fit_resample should be backward compatible to work in place of fit_sample

like image 77
Kanishth Karthik Avatar answered May 06 '26 00:05

Kanishth Karthik



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!