Skip to content

Latest commit

 

History

History
93 lines (65 loc) · 1.67 KB

README.md

File metadata and controls

93 lines (65 loc) · 1.67 KB

Credit-Scoring-Model

A machine learning project that predicts whether a customer is likely to default on their credit payment.

Features

  • Data preprocessing
  • Exploratory Data Analysis
  • Feature engineering
  • Random Forest
  • Decision Tree
  • Logistic Regression
  • Model evaluation
  • Streamlit web application

Dataset

  • Source: UCI Machine Learning Repository
  • Records: 30,000 customers
  • Target: Default payment next month

Project Structure

Credit-Scoring-Model/
├── data/
├── notebooks/
├── src/
├── models/
├── reports/
├── figures/
├── app.py
├── main.py
├── generate_eda.py
├── requirements.txt
├── README.md
└── LICENSE

Installation

git clone https://github.com/Chmouryan/Credit-Scoring-Model.git
cd Credit-Scoring-Model

python -m venv venv
venv\Scripts\activate

pip install -r requirements.txt

Run the Project

Train the model

python main.py

Generate EDA plots

python generate_eda.py

Run the Streamlit app

streamlit run app.py

The Streamlit app allows users to enter customer and financial information and receive a credit risk prediction.

Model Results

Model Accuracy ROC-AUC
Random Forest 75.66% 76.78%
Decision Tree 73.53% 75.18%
Logistic Regression 68.59% 71.79%

Best Model: Random Forest

Disclaimer

This project is for educational and portfolio purposes only. It should not be used as professional financial advice.

License

MIT License

Thank you for visting