Skip to content

A simple model to predict the user's ability to pay the loan.

Notifications You must be signed in to change notification settings

huythai855/loan-payment-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loan Payment Prediction

Project Description

Dataset

  • You can download the data set from here.

Installation

  • Clone the repository
      git clone https://github.com/huythai855/loan-payment-prediction
  • Change the data files in the data/raw folder.
  • Install the requirements
      pip install -r requirements.txt
  • Run the project
      python3 src/models/train_model.py
  • The result visualization will be saved in the reports/figures folder.

Sample Result

Project Organization

├── README.md                         <- This description file
├── data
│   ├── processed               <- The splited and preprocessed data.
│   └── raw                     <- The original data.
│
├── models                   
│   └── MRL.pkl                 <- Sample trained model.
│
├── reports            
│   └── figures        
│     └── plot.png         <- Resulting plot based on the data.
│
├── requirements.txt                <- The requirement libraries to set up the environment.
│
├── setup.py                        <- Makes project pip installable (pip install -e .).
└── src
   │
   ├── data
   │ └── make_dataset.py      <- Splits and preprocesses the data.
   │
   ├── models
   │   ├── evaluate_model.py     <- Evaluates the model accurancy.
   │   └── train_model.py        <- Trains the model.
   │
   └── visualization
       └── visualize.py   <- Visualizes and exports the result.

About

A simple model to predict the user's ability to pay the loan.

Topics

Resources

Stars

Watchers

Forks

Languages