This project develops a machine learning model to predict whether a loan will be fully paid or charged off, helping financial institutions assess credit risk and improve decision-making.
β Accuracy: 82.7%
β F1 Score: 0.89
β AUC-ROC: 0.64
β Inference Time: 32.3 ms
- Most Influential Factors:
1οΈβ£ Credit Score
2οΈβ£ Annual Income
3οΈβ£ Years of Credit History - XGBRFClassifier provided the best balance between precision and efficiency.
- Deployed via Streamlit Cloud for real-time predictions.
1οΈβ£ Clone the repository:
git clone https://github.com/astrxnomo/loan-status-prediction.git
cd loan-status-prediction
2οΈβ£ Install dependencies:
pip install -r requirements.txt
3οΈβ£ Run the Streamlit app:
streamlit run app.py
4οΈβ£ Open in browser: http://localhost:8501
- Python (pandas, numpy, scikit-learn, xgboost, joblib)
- Machine Learning Models: XGBRFClassifier, Random Forest, Logistic Regression, Gradient Boosting
- Deployment: Streamlit Cloud