Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: 🚀
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: green
|
|
@@ -11,19 +11,42 @@ short_description: Spotify Recommendation System with Machine Learning
|
|
| 11 |
license: mit
|
| 12 |
---
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
| 18 |
|
| 19 |
---
|
| 20 |
|
| 21 |
-
##
|
| 22 |
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
-
-
|
| 26 |
-
- Interactive
|
| 27 |
-
-
|
| 28 |
|
| 29 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: PredictingLoanPayback
|
| 3 |
emoji: 🚀
|
| 4 |
colorFrom: green
|
| 5 |
colorTo: green
|
|
|
|
| 11 |
license: mit
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# Credit Default Prediction (LightGBM)
|
| 15 |
|
| 16 |
+
This project focuses on predicting credit default risk using a LightGBM classifier.
|
| 17 |
+
The model is trained on structured tabular data and deployed with a simple Streamlit interface.
|
| 18 |
|
| 19 |
---
|
| 20 |
|
| 21 |
+
## 🚀 Project Overview
|
| 22 |
|
| 23 |
+
- Binary classification (default / non-default)
|
| 24 |
+
- LightGBM with hyperparameter optimization
|
| 25 |
+
- Model serialization with `joblib`
|
| 26 |
+
- Interactive deployment using Streamlit
|
| 27 |
+
- Ready for Hugging Face Spaces
|
| 28 |
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## 🧠 Model Details
|
| 32 |
+
|
| 33 |
+
- Algorithm: LightGBM Classifier
|
| 34 |
+
- Evaluation Metric: ROC-AUC
|
| 35 |
+
- Feature count: 16
|
| 36 |
+
- Class imbalance handled internally
|
| 37 |
+
|
| 38 |
+
The trained model and feature list are saved as:
|
| 39 |
+
- `credit_default_lgbm.pkl`
|
| 40 |
+
- `model_features.pkl`
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## 🖥 Streamlit App
|
| 45 |
+
|
| 46 |
+
The Streamlit app allows users to:
|
| 47 |
+
- Enter feature values manually
|
| 48 |
+
- Get real-time default probability predictions
|
| 49 |
+
|
| 50 |
+
Run locally:
|
| 51 |
+
```bash
|
| 52 |
+
streamlit run app.py
|