Skip to content

This project is a web application designed to predict credit card worthiness using a machine learning model .

Notifications You must be signed in to change notification settings

Prasannapandhare/credit-card-worthiness-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Credit Card Worthiness Prediction App

This project was developed as part of an internship at Celebal Technologies - CSI'24.
Live Link


πŸ“ Project Overview

This web application empowers users to predict their credit card worthiness by inputting financial and personal details. Built with a robust machine learning model trained on comprehensive datasets, the app ensures accurate and reliable predictions. The project uses Flask for the backend and HTML, CSS, and JavaScript for the frontend, incorporating Jupyter notebooks for data analysis and model building.

  • Discover your credit worthiness with our sophisticated prediction tool designed to deliver precise results.

πŸš€ Introduction

The Credit Card Worthiness Prediction App uses a machine learning model to assess the creditworthiness of individuals. The model is trained on various financial and personal data points to provide an accurate prediction. Ideal for credit scoring and financial risk assessment.

  • German Credit Data πŸ“„

    • Overview

      The German Credit dataset, provided by Prof. Dr. Hans Hofmann (University of Hamburg), is used to classify individuals as good or bad credit risks.
    • Details

      • Instances: 1000
      • Attributes:
        • Original: 20 (7 numerical, 13 categorical)
        • Numerical: 24 (all numerical)
    • Source

      German Credit Data - UCI Repository

πŸ—‚οΈ Folder Structure

credit-worthiness-app  
β”‚
└─── datasets
β”‚   |   Index
|   |   german.data
|   |   german.data-numeric
|   |   german.doc
β”‚   └── processed.csv
└─── notebooks
β”‚   |   Project.ipynb
β”‚   └── app.ipynb
└─── static
β”‚   └── css
|   |      |   style_index.css
|   |      └── style_result.css
β”‚   └── images
|          |   dropdown.png
|          └── favicon.png
└─── templates
β”‚   |   index.html
β”‚   └── result.html
└─── app.py
└─── README.md
└─── Procfile
└─── random_forest_model.pkl
└─── requirements.txt
└─── runtime.txt

πŸ”§ Tech Stack

  • Backend: Flask
    Flask
  • Frontend: HTML, CSS, JavaScript
    HTML CSS JavaScript
  • Data Analysis and Model Building: Jupyter Notebooks
    Jupyter

βš™οΈ Installation

To run this project locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/Prasannapandhare/credit-worthiness-app.git
    cd credit-card-worthiness-app
  2. Install the dependencies:
    pip install -r requirements.txt
  3. Run the Flask app:
    flask run
  4. Open your browser and go to:
    http://127.0.0.1:5000
    

πŸ€– Usage

  1. Navigate to the homepage.
  2. Enter the required details to assess creditworthiness.
  3. Submit the form to get the prediction results.

🧩 Features

  • User-friendly interface to input financial and personal information
  • Real-time prediction of credit card worthiness
  • Data visualization and analysis using Jupyter notebooks
  • Secure and efficient handling of user data
  • Interactive charts and graphs to help users understand their credit standing

-----------------------------------------------------

➀ Index (Home) Page

image -----------------------------------------------------

➀ Result Pages

πŸ§ͺ Credit Worthiness Prediction Demo

For demonstration purposes, you can use the following inputs to predict credit worthiness.These inputs illustrate different scenarios of credit worthiness. Use these examples to test the prediction model and see how it evaluates the credit status based on the given data.

Note

These inputs are taken directly from the top two rows of our dataset.

Example Inputs
Good Credit
  • Checking account status: A11
  • Duration: 6 months
  • Credit history: A34
  • Purpose: A43
  • Credit amount: 1169
  • Savings account/bonds: A65
  • Employment: A75
  • Installment rate: 4
  • Personal status and sex: A93
  • Other debtors / guarantors: A101
  • Present residence since: 4
  • Property: A121
  • Age: 67
  • Other installment plans: A143
  • Housing: A152
  • Number of existing credits: 2
  • Job: A173
  • Number of people liable: 1
  • Telephone: A192
  • Foreign worker: A201

    image
Bad Credit
  • Checking account status: A12
  • Duration: 48 months
  • Credit history: A32
  • Purpose: A43
  • Credit amount: 5951
  • Savings account/bonds: A61
  • Employment: A73
  • Installment rate: 2
  • Personal status and sex: A92
  • Other debtors / guarantors: A101
  • Present residence since: 4
  • Property: A121
  • Age: 22
  • Other installment plans: A143
  • Housing: A152
  • Number of existing credits: 1
  • Job: A173
  • Number of people liable: 1
  • Telephone: A191
  • Foreign worker: A201

    image -----------------------------------------------------

πŸ”° Project Developer πŸ§‘β€πŸ’»