Credit Risk = PD * EAD * LGD (Credit Risk = Probability of default * Exposure at default * Loss given default)
View code: Population Stability Index (PSI) calculation
- Criteria: PSI < .25
View code: Kolmogorov-Smirnov (KS) calculation
- Criteria: KS > 30%
View code: Information Value (IV) calculation
View code: bankruptcy prediction
- feature reduction: recursive feature selection with cross validation (RFECV)
- classifier models applied: random forest, gradientboost, xgboost, lightGBM
- hyperparameter optimization: RandomSearchCV, GridSearch
- metrics for model evaluation: confusion matrix, ROC-AUC, accuracy, precision, recall, f1-score, support
- metrics for feature importance: feature importance, Shapley values, Morris sensitivity