Credit scoring is becoming increasingly vital in financial decisions. Forbes reported an average credit card debt of $5,474 per borrower in Q3 2022, totaling $38 billion. The intersection of technology and finance, notably in credit evaluation, is rapidly evolving. This project aims to utilize machine learning to assess 'good' or 'bad' credit risks, offering insights into improving traditional financial models by utilizing the dataset found on Kaggle.
- Project dataset consists of application_record.csv and credit_record.csv, mergeable via the client number (ID). a. application_record.csv includes personal/financial info (gender, car ownership, income, etc.): 17 columns and ~440,000 rows b. credit_record.csv tracks monthly credit history, overdue days, and payments: 3 columns and ~1,000,000 rows
- Found during research on credit scoring and finance machine learning on Kaggle.
- De-duplication
- Dealing with Sparse Columns
- Handling Outliers
- Imputing Missing Values using MICE
- Balancing dataset using SMOTE
![image](https://private-user-images.githubusercontent.com/56289860/297414860-8d5412d9-9736-4105-9907-ef3f8f74dbc7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMDI0NTQsIm5iZiI6MTcyNjAwMjE1NCwicGF0aCI6Ii81NjI4OTg2MC8yOTc0MTQ4NjAtOGQ1NDEyZDktOTczNi00MTA1LTk5MDctZWYzZjhmNzRkYmM3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEwVDIxMDIzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJiZWQ1YTEyZjA0NGMzN2IxMWFiMmEwNmQ1ZmVjYWI4OGIyNTg5ZjhmYzc5YjJlODJmNGVhODQ4NjQyZDFhY2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.2mzsynsvguKne2LgRsV6CFFiA8pEkoPas3Fuitt4yjY)
Random Forest performed the best after tuning hyperparameters. The results are shown below:
Based on the feature importances of the variables, we recommend:
- Age and employment critical to approving credit card apps
- Have tailored strategies for different age groups and employment categories
- Consider personalized credit offerings based on family dynamics