Giter Site home page Giter Site logo

abduliante / vehicle-default-loan-prediction Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 71.41 MB

Forecasting the likelihood of a customer defaulting their auto loan using classification models

Jupyter Notebook 5.87% Python 92.06% PowerShell 0.02% Shell 0.01% C 0.87% Cython 0.82% C++ 0.18% Fortran 0.03% Makefile 0.01% MATLAB 0.01% TeX 0.09% JavaScript 0.02% CSS 0.02%
classification python lasso-regression feature-engineering feature-selection variance-inflation-factor logistic-regression knn-classification xgboost-classifier gridsearchcv

vehicle-default-loan-prediction's People

Contributors

abduliante avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

monicarekhan

vehicle-default-loan-prediction's Issues

Tuning parameters

Implement grid search on chosen models to choose best parameters:

  • KNN
  • Random forest
  • XGBoost
  • Logistics regression (Assigned to Mohammed)

Investigate logistics regression scores

Logistics regression with our chosen parameters yields these results:

Training classification report:

          precision    recall  f1-score   support

       0       0.65      0.49      0.56    135558
       1       0.63      0.77      0.69    153784

accuracy                           0.64    289342
macro avg      0.64      0.63      0.62    289342
weighted avg   0.64      0.64      0.63    289342

Validation classification report:

          precision    recall  f1-score   support

       0       0.81      0.40      0.54     34000
       1       0.24      0.67      0.35      9502

accuracy                           0.46     43502
macro avg      0.53      0.54      0.44     43502
weighted avg   0.69      0.46      0.50     43502

outliers

Remove outliers of the count of active loans and previously taken by the customer at the time of disbursement.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.