wmlba / Fraud_Detection_Techniques

78 stars 48 forks source link

Smote ratio failed to run #5

Open raafat1983 opened 4 years ago

raafat1983 commented 4 years ago

Hey Will , replace sm = SMOTE(ratio='minority', random_state=7) with sm = SMOTE(sampling_strategy='minority', random_state=7)

as failed to run

wmlba commented 4 years ago

@raafat1983 Thanks for pointing that out. ratio was deprecated in version 0.4 (Source). Will update it shortly.