sohrabrezaei / credit-risk-analysis Goto Github PK
View Code? Open in Web Editor NEWI am asked to resample the credit card data since it is not balanced. First, I start to split the data and perform oversampling with RandomOverSampler and SMOTE method, and I undersample with ClusterCentroids algorithm. Then, I utilize the SMOTEENN method to oversample and undersample the data. Finally, I used ensemble models.