Skip to content

A Flask-based web application that predicts credit risk using a trained Logistic Regression model. Users can upload a CSV file with customer data, and the app returns predictions along with visualizations like confusion matrix and ROC curves.

Notifications You must be signed in to change notification settings

Subhajit-Das-1/CreditScoreChecking

Repository files navigation

📊 Credit Score Checking

🔗 Live Demo: https://creditscorechecking-11.onrender.com/


📝 Project Overview

This project predicts creditworthiness using a Logistic Regression model trained on financial data. Users can input their financial information through a web interface and receive a credit score prediction along with high-risk customer identification.


🛠️ Technologies Used

  • Backend: Flask
  • Machine Learning: scikit-learn, joblib
  • Data Processing: pandas, numpy
  • Deployment: Render

🚀 Features

  • User-friendly web interface for CSV input
  • Real-time credit score prediction
  • High-risk customer identification
  • Model retraining capability

📂 Project Structure

. ├── app.py # Flask application ├── credit_scoring.py # Model training script ├── data/ # Dataset ├── outputs/ # Model and predictions ├── requirements.txt # Project dependencies └── .gitignore # Git ignore rules

yaml Copy code


📥 Installation

  1. Clone the repository
git clone https://github.com/yourusername/CreditScoreChecking.git
cd CreditScoreChecking

Set up a virtual environment

python -m venv env

Activate on Linux/Mac

 source env/bin/activate

Activate on Windows

env\Scripts\activate

Install dependencies

pip install -r requirements.txt

Run the application

python app.py

🎯 Using the Web App

  • Upload your CSV file with financial data.

  • Click Submit to generate predictions.

  • Download the predictions CSV containing:

  • predicted_class → 0 = High Risk, 1 = Low Risk

  • predicted_proba → Probability of being low-risk (if available)

About

A Flask-based web application that predicts credit risk using a trained Logistic Regression model. Users can upload a CSV file with customer data, and the app returns predictions along with visualizations like confusion matrix and ROC curves.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published