Giter Site home page Giter Site logo

akashmavle5 / bankloaddata_mlmodel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sid83/bankloaddata_mlmodel

0.0 0.0 0.0 2.29 MB

Random forest classifier model applied to a bank loan data to predict loan defaulters.

Jupyter Notebook 100.00%

bankloaddata_mlmodel's Introduction

Machine learning models were applied for prediction of loan application quality. The dataset used for ml modeling initially contained many features (around 57), which were trimmed down to 7, based on weightage. Few ml models were applied to figure out the best model for this problem.

  • Neural network (deep learning) - The accuracy was almost as good as random pick
  • KNN (K nearest neighbours) - accuracy increased with as K value increased up. Discarded as the accuracy was as good as randomly picking, whether loan will default or not.
  • SVC (Support vector classifier) - took too long a time to run and optimize coefficients, and accuracy not good enough
  • Logistic Regression - almost 93% test accuracy, fast processing
  • Random Forest (rf) - 93% test accuracy, used features_importance method to trim features to only the most important ones.
ROC Curve

ROC curve was calculated for the rf model, and was found that the area under the curve = 0.87

ROC

This shows that rf model was doing a decent job of prediction of loan quality on test data.

bankloaddata_mlmodel's People

Contributors

sid83 avatar

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.