codebasics / deep-learning-keras-tf-tutorial

Learn deep learning with tensorflow2.0, keras and python through this comprehensive deep learning tutorial series. Learn deep learning from scratch. Deep learning series for beginners. Tensorflow tutorials, tensorflow 2.0 tutorial. deep learning tutorial python.
https://www.youtube.com/playlist?list=PLeo1K3hjS3uu7CxAacxVndI4bE_o3BDtO
852 stars 1.86k forks source link

Updated the SMOTE Sampling technique #8

Open VetlaPavanKalyan opened 2 years ago

VetlaPavanKalyan commented 2 years ago

Changed smote.fit_sample() -> smote.fit_resample()

VetlaPavanKalyan commented 2 years ago

I was going through the code and found out that smote.fit_sample() was replaced with smote.fit_resample() check here

You can refer to this post here where we get to know that fit_sample() == fit_resample() it looks like fit_resample() should be backward compatible to work in place of fit_sample()