Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DEADSAW/DecisionHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

87 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DecisionHub

License: MIT Python Flask

A powerful AI-powered decision support tool for loan approval prediction and client analysis.

DecisionHub is designed to assist analysts in making informed decisions about potential clients quickly and efficiently. This project was developed during a hackathon with the aim of streamlining the decision-making process by incorporating relevant parameters and data points.

DecisionHub User Interface

✨ Features

  • πŸ€– AI-Powered Loan Prediction - Machine learning model (XGBoost) analyzes loan factors and predicts approval chances
  • πŸ“Š Parameterized Analysis - Define and customize parameters relevant to your decision-making process
  • πŸ” Rejection Insights - Get clear reasons for declined applications and areas for improvement
  • ⚑ Real-time Data Integration - Access the most up-to-date information when evaluating clients
  • 🎯 User-Friendly Interface - Intuitive design for easy navigation and analysis
  • πŸ“ˆ Scalability - Built to accommodate growing needs and increasing client volume

πŸš€ Quick Start

Prerequisites

  • Python 3.8 or higher
  • pip (Python package manager)

Installation

  1. Clone the repository

    git clone https://github.com/DEADSAW/DecisionHub.git
    cd DecisionHub
  2. Create a virtual environment (recommended)

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies

    pip install -r requirements.txt
  4. Run the application

    python app.py
  5. Access the application Open your browser and navigate to http://localhost:5000

πŸ“– Usage

Loan Prediction Tool

  1. Navigate to the loan approval form
  2. Fill in the applicant's details:
    • Personal information (name, gender, education)
    • Employment status
    • Income details (applicant and co-applicant)
    • Loan amount and term
    • Credit history
    • Property area
  3. Submit the form to get an instant prediction

DecisionHub Analytic Tool

Creating Rules & Strategies

Use the Create Rules and Strategy features to define custom decision-making parameters:

  • Create Rules: Define individual decision rules based on specific criteria
  • Create Strategy: Combine multiple rules into comprehensive evaluation strategies
  • Debug/Test: Test your rules and strategies against sample data

πŸ“ Project Structure

DecisionHub/
β”œβ”€β”€ app.py                 # Flask application entry point
β”œβ”€β”€ requirements.txt       # Python dependencies
β”œβ”€β”€ bin/                   # ML model binaries
β”‚   └── xgboostModel.pkl   # Trained XGBoost model
β”œβ”€β”€ data/                  # Data files and schemas
β”‚   β”œβ”€β”€ columns_set.json   # Feature columns configuration
β”‚   β”œβ”€β”€ loan_train.csv     # Training dataset
β”‚   β”œβ”€β”€ loan_test.csv      # Test dataset
β”‚   └── *.csv              # Sample data files
β”œβ”€β”€ scripts/               # Utility scripts
β”‚   └── generate_sample_data.py  # Script to generate sample data
β”œβ”€β”€ static/                # Static assets for Flask app
β”‚   β”œβ”€β”€ css/
β”‚   β”œβ”€β”€ fonts/
β”‚   └── images/
β”œβ”€β”€ template/              # Flask HTML templates
β”‚   β”œβ”€β”€ index.html         # Main prediction form
β”‚   β”œβ”€β”€ prediction.html    # Prediction results
β”‚   └── error.html         # Error page
β”œβ”€β”€ frontend/              # Frontend pages and assets
β”‚   └── pages/             # HTML, CSS, JS files
β”œβ”€β”€ notebook/              # Jupyter notebooks
β”‚   └── Machine Learning Model Dev.ipynb
β”œβ”€β”€ docs/                  # Documentation
β”‚   └── images/            # Screenshots and images
β”œβ”€β”€ CONTRIBUTING.md        # Contribution guidelines
β”œβ”€β”€ LICENSE                # MIT License
└── README.md              # This file

πŸ› οΈ Technologies Used

  • Backend: Python, Flask
  • Machine Learning: XGBoost, scikit-learn, pandas, numpy
  • Frontend: HTML5, CSS3, JavaScript
  • Model Serialization: joblib

🀝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details on how to:

  • Report bugs
  • Suggest features
  • Submit pull requests

Quick Steps

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

⚠️ Known Issues

  • DecisionHub is still in active development
  • Some features may be under construction
  • We appreciate your feedback on any issues encountered

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ‘₯ Authors

  • Sangam Rai - Initial work - DEADSAW

πŸ™ Acknowledgments

  • Built during a hackathon with the goal of streamlining decision-making processes
  • Thanks to all contributors who have helped improve this project

Made with ❀️ for better decision making

About

A Hackathon project which will help analyst to help and decide on potential clients without wasting much time via parameters.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors