'The difference between smote.fit_sample() and smote.fit_resample()
What exactly is the difference between smote.fit_sample() and smote.fit_resample()? When shall we use smote.fit_sample() and when to use smote.fit_resample()?
Solution 1:[1]
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
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Kanishth Karthik |