GithubHelp home page GithubHelp logo

vmieres / machine-learning Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 50 KB

This repo is about Machine Learning and Classification

Jupyter Notebook 100.00%
machine-learning credit-risk evaluating-models resampling ensemble-machine-learning ensemble-classifier oversampling undersampling smoteenn cluster-centroids

machine-learning's Introduction

Machine-Learning

Machine Learning

This assignment is about evaluating several machine-learning models to predict credit risk using free data from LendingClub. Credit risk is an inherently imbalanced classification problem, so I used different techniques for training and evaluating models with imbalanced classes. I used the imbalanced-learn and Scikit-learn libraries to build and evaluate models using the two following techniques:

Resampling

Imbalanced learn library for resampling the LendingClub data and building and evaluating logistic regression classifiers using the resampled data.

Findings

Which model had the best balanced accuracy score?

  • Naive Random Oversampling

Which model had the best recall score?

  • Cluster Centroids

Which model had the best geometric mean score?

  • SMOTE

Ensemble Learning

Used two different ensemble classifiers to evaluate each model and predict loan risk and . As well as the Balanced Random Forest Classifier and the Easy Ensemble Classifier.

Findings

Which model had the best balanced accuracy score?

  • Easy Ensemble Classifier

Which model had the best recall score?

  • Easy Ensemble Classifier

Which model had the best geometric mean score?

  • Easy Ensemble Classifier

What are the top three features?

  • (0.09175752102205247, 'total_rec_prncp')
  • (0.06410003199501778, 'total_pymnt_inv')
  • (0.05764917485461809, 'total_pymnt')

machine-learning's People

Contributors

vmieres avatar

Watchers

 avatar  avatar

Forkers

novavolunteer

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.