Git Product home page Git Product logo

credit_risk_analysis's Introduction

Credit Risk Analysis

Overview of the analysis:

The objective of this project is use Machine learning techniques such as Resampling, SMOTEENN and Emsemble classifiers to analyzed LoanStats data and predict the best possible credit risk outcome.

Results:

Random Oversampling

  • Balanced Accuracy Score: 63.39%
  • Precision Score - High Risk: 0.01
  • Precision Score - Low Risk: 1.00
  • Recall Score high risk: 69%
  • Recall Score low risk: 61% randomoversampler

SMOTE Oversampling

  • Balanced Accuracy Score: 63.07%
  • Precision Score - High Risk: 0.01
  • Precision Score - Low Risk: 1.00
  • Recall Score high risk: 60%
  • Recall Score low risk: 66%

SMOTE

Cluster Centroids

  • Balanced Accuracy Score: 52.95%
  • Precision Score - High Risk: 0.01
  • Precision Score - Low Risk: 1.00
  • Recall Score high risk: 61%
  • Recall Score low risk: 45%

CLUSTERCENTROID

SMOTEENN

  • Balanced Accuracy Score: 63.76%
  • Precision Score - High Risk: 0.01
  • Precision Score - Low Risk: 1.00
  • Recall Score high risk: 70%
  • Recall Score low risk: 57%

SMOTEEN

Random Forest Classifier

  • Balanced Accuracy Score: 78.37%
  • Precision Score - High Risk: 0.01
  • Precision Score - Low Risk: 1.00
  • Recall Score high risk: 67%
  • Recall Score low risk: 89%

Randomforest

Easy Ensemble Classifier

  • Balanced Accuracy Score: 91.78%
  • Precision Score - High Risk: 0.01
  • Precision Score - Low Risk: 1.00
  • Recall Score high risk: 89%
  • Recall Score low risk: 94%

EasyEnsemple

Summary:

From all the machine learning model, Easy Ensemble Classifier produced the most accurate with the best predictions for loans at all risk levels. The second best is the Random Forest Classifier

  1. Easy Ensemble Classifier

Balanced Accuracy Score: 91.78%

Recall Score high risk: 89%

Recall Score low risk: 94%

  1. Random Forest Classifier

Balanced Accuracy Score: 78.37%

Recall Score high risk: 67%

Recall Score low risk: 89%

I would recommend Easy Ensemble Classifier to be used as it gives the most accurate prediction from all the models.

credit_risk_analysis's People

Contributors

lsuantah avatar

Watchers

 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.