Skip to content

Lightning-fast, loan approval predictor. Enter your info, dash through the process, and get instant results with a sleek and aesthetic UI.

License

Notifications You must be signed in to change notification settings

BhattAyush17/Loan-Dash-X

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Loan-Dash X: Loan Approval Predictor

Loan-Dash X is a machine learning-powered web application that predicts the likelihood of loan approval based on a user's financial and personal information. Built with Python and Flask, it leverages a robust ML pipeline to provide fast and reliable predictions, making it a valuable tool for both users and financial institutions.

Demo

Experience Loan-Dash X in action with the live demo playback below!

Loan-Dash X Demo

Click the image above to watch the demo on YouTube.

To watch in full screen or open on YouTube, simply click anywhere on the video area.

Feel free to explore the screenshots below for hands-on experience.

Table of Contents


Key Features

  • Instant Loan Approval Prediction:
    Receive immediate feedback on loan approval chances after submitting personal and financial details.

  • Intuitive, Responsive UI:
    Modern design and clear guidance for a seamless user experience on any device.

  • Robust Input Validation:
    Comprehensive checks on both the frontend and backend for realistic and secure data entry.

  • Modular & Customizable ML Model:
    Easily update or retrain the underlying model to suit different datasets and business requirements.

  • Scalable Architecture:
    Built with Flask for straightforward deployment and future expansion.


Technology Stack

  • Frontend: HTML, CSS (custom styles, Google Fonts)
  • Backend: Python, Flask
  • Machine Learning: Scikit-learn (loan_approval_pipeline.joblib)
  • Deployment: Joblib for model serialization, Flask app server
  • Additional Libraries: Pandas, Jinja2 templating

How It Works

  1. User Input:
    Users provide:

    • Income (in thousands, up to ₹10 crore)
    • Credit Score (300–900)
    • Number of ongoing loans (0–20)
    • Age (18–75)
    • Gender
  2. Validation:
    HTML constraints and Python backend checks ensure valid, meaningful data.

  3. Prediction:
    The Flask server loads a pre-trained ML pipeline to predict loan approval probability.

  4. Result Display:
    Users receive their approval chance as a percentage, along with actionable feedback.


Setup & Installation

  1. Clone the repository:
    git clone https://github.com/BhattAyush17/Loan-Dash-X.git
    cd Loan-Dash-X
  2. Install dependencies:
    pip install -r requirements.txt
  3. (Optional) Train your own model:
    • Prepare your dataset.
    • Train using your preferred classifier (e.g., Logistic Regression, Random Forest).
    • Export as loan_approval_pipeline.joblib to the models/ directory.
  4. Run the application:
    python app/app.py
  5. Access the app:

Usage

  1. Fill out the form with your details.
  2. Click Predict Approval.
  3. View your approval probability and personalized suggestions.

Project Structure

Loan-Dash-X/
├── app/
│   ├── app.py
│   ├── templates/
│   │   └── index.html
│   └── static/
│       └── logo.png
├── models/
│   └── loan_approval_pipeline.joblib
├── requirements.txt
└── README.md

Model Details

  • Type: Binary Classification (Approval / Not Approval)
  • Algorithms: Logistic Regression, Random Forest, XGBoost (configurable)
  • Features: Income, Credit Score, Ongoing Loans, Age, Gender
  • Preprocessing: Scaling, Encoding, Feature Engineering (scikit-learn pipeline)
  • Evaluation Metrics: Accuracy, ROC-AUC, F1-score (see training notebook for details)

Screenshots

App Screenshot 1 App Screenshot 2

Contributing

We welcome your contributions!

  • Fork the repository
  • Create your feature branch
  • Commit your changes
  • Open a pull request

For major changes, please open an issue first to discuss what you would like to change.


License

This project is licensed under the MIT License.


Contact


Empowering smarter lending decisions with data and AI.


Tags:
Machine Learning • Loan Approval • FinTech • Python • Flask • AI • Data Science • Web App • Credit Score • ML Model • Finance • Predictive Analytics • Open Source • Smart Banking • Innovation • Tech For Good

About

Lightning-fast, loan approval predictor. Enter your info, dash through the process, and get instant results with a sleek and aesthetic UI.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •