| Literature DB >> 35706966 |
Lili Zhang1, Herman Ray2, Jennifer Priestley2, Soon Tan3.
Abstract
Training classification models on imbalanced data tends to result in bias towards the majority class. In this paper, we demonstrate how variable discretization and cost-sensitive logistic regression help mitigate this bias on an imbalanced credit scoring dataset, and further show the application of the variable discretization technique on the data from other domains, demonstrating its potential as a generic technique for classifying imbalanced data beyond credit socring. The performance measurements include ROC curves, Area under ROC Curve (AUC), Type I Error, Type II Error, accuracy, and F1 score. The results show that proper variable discretization and cost-sensitive logistic regression with the best class weights can reduce the model bias and/or variance. From the perspective of the algorithm, cost-sensitive logistic regression is beneficial for increasing the value of predictors even if they are not in their optimized forms while maintaining monotonicity. From the perspective of predictors, the variable discretization performs better than cost-sensitive logistic regression, provides more reasonable coefficient estimates for predictors which have nonlinear relationships against their empirical logit, and is robust to penalty weights on misclassifications of events and non-events determined by their apriori proportions.Entities:
Keywords: Class imbalance; cost-sensitive logistic regression; credit scoring; discrimination ability; variable discretization
Year: 2019 PMID: 35706966 PMCID: PMC9041569 DOI: 10.1080/02664763.2019.1643829
Source DB: PubMed Journal: J Appl Stat ISSN: 0266-4763 Impact factor: 1.416
Variables for analysis and modeling.
| Variable | Type | Description |
|---|---|---|
| Binary | Person experienced 90 days past due delinquency or worse | |
| Interval | Monthly income | |
| Interval | Monthly debt payments, alimony, living costs divided by monthly gross income | |
| Interval | Age of borrower in years | |
| Interval | Number of dependents in family excluding themselves (spouse, children, etc.) | |
| Interval | Number of open loans (installment like car loan or mortgage) and lines of credit (e.g. credit cards) | |
| Interval | Number of mortgage and real estate loans including home equity lines of credit | |
| Interval | Total balance on credit cards and personal lines of credit except real estate and no installment debt like car loans divided by the sum of credit limits | |
| Interval | Number of times borrower has been 30–59 days past due but no worse in the last 2 years | |
| Interval | Number of times borrower has been 60–89 days past due but no worse in the last 2 years | |
| Interval | Number of times borrower has been 90 days or more past due |
Frequency of dependent variable.
| SeriousDlqin2yrs | Frequency | Percent (%) |
|---|---|---|
| 1 | 10,026 | 6.68 |
| 0 | 139,974 | 93.32 |
Percentile ranks of RevolvingUtilizationOfUnsecuredLines.
| Rank | Min | Max | Mean | Count | Event | |
|---|---|---|---|---|---|---|
| 1–8 | 0 | 0.000707 | 0.000034 | 12,000 | 335 | −3.5488 |
| 9 | 0.000708 | 0.001733 | 0.001210 | 1501 | 18 | −4.3844 |
| 10 | 0.001735 | 0.002969 | 0.002334 | 1499 | 25 | −4.0574 |
| ··· | ··· | ··· | ··· | ··· | ··· | ··· |
| 99 | 1.0062 | 1.092954 | 1.036357 | 1500 | 556 | −0.5290 |
| 100 | 1.093178 | 50708 | 573.887190 | 1500 | 589 | −0.4358 |
Figure 1.Empirical logit plot against RevolvingUtilizationOfUnsecuredLines and its rank.
Information values.
| Variables | Bins | Information value |
|---|---|---|
| 19 | 1.1635 | |
| 3 | 0.4865 | |
| 2 | 0.4842 | |
| 2 | 0.2648 | |
| 20 | 0.2620 | |
| 15 | 0.0852 | |
| 21 | 0.0813 | |
| 20 | 0.0795 | |
| 5 | 0.0279 | |
| 4 | 0.0184 |
Basic characteristics of datasets.
| Dataset | Repository | Target | Event rate | Observations | Variables | Domain |
|---|---|---|---|---|---|---|
| arrhythmia | UCI | 06 | 5.55% | 452 | 206C, 73N | Biology |
| wine_quality | UCI | score | 3.70% | 4898 | 11C | Business |
Figure 2.The result of tuning τ. (a) τ vs. Class Weights and (b) AUROC vs. .
Figure 3.10-fold cross-validation ROC curves of credit scoring data. (a) Model 1. (b) Model 2. (c) Model 3 and (d) Model 4.
10-fold cross-validation AUC of models.
| Model | Mean | Std. |
|---|---|---|
| Model 1 | 0.69 | 0.011 |
| Model 2 | 0.68 | 0.013 |
| Model 3 | 0.79 | 0.010 |
| Model 4 | 0.83 | 0.006 |
Estimated parameters of Model 2 and Model 3.
| Parameter | Model 2 Estimate | Model 3 Estimate |
|---|---|---|
| Intercept | −1.45644 | 2.69671 |
| −0.000048 | −0.000053 | |
| 0.50255 | 0.67117 | |
| 0.45629 | 0.79821 | |
| −0.92206 | 0.47276 | |
| −0.02791 | −0.02809 |
Figure 4.Empirical logit plots against ranks. (a) Age. (b) . (c) and (d) .
VIF for .
| Parameter | VIF Factor |
|---|---|
| 1 | |
| 20.5 | |
| 20.5 | |
| 1 |
Performance measures under the best probability cutoff.
| Model | Type I Error | Type II Error | Accuracy | F1 score | Probability cutoff |
|---|---|---|---|---|---|
| Model 1 | 0.1941 | 0.0666 | |||
| Model 2 | 0.1931 | 0.0654 | |||
| Model 3 | 0.2587 | 0.4486 | |||
| Model 4 | 0.2877 | 0.0646 |
Figure 5.ROC curves of wine_quality and arrhythmia data. (a) arrhythmia and (b) wine_quality.
The performance of variable discretization on other datasets.
| Dataset | Model | AUC | Type I Error | Type II Error | Accuracy | F1 score | Probability cutoff |
|---|---|---|---|---|---|---|---|
| arrhythmia | Interval | 0.6216 | 0.1127 | ||||
| Discretized | 0.9603 | 0.3871 | |||||
| wine_quality | Interval | 0.7757 | 0.1439 | 0.0317 | |||
| Discretized | 0.8327 | 0.1763 | 0.0289 |