GithubHelp home page GithubHelp logo

nfeege / loans-risk-assessment Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 0.0 18 KB

Risk assessment for credit loans using data from Lending Club and different machine learning algorithms.

Jupyter Notebook 99.74% Ruby 0.26%

loans-risk-assessment's Introduction

Risk Assessment for Lending Club Loans

Objective: Predict whether a requested loan will be paid back in full or not (i.e. will be charged off) to help investors choose where to invest.

Risk assessment for loans using historic data from Lending Club and different machine learning algorithms. The main notebook of this project is loans-risk-assessment.ipynb.

Background information on Lending Club: https://www.lendingclub.com/public/how-peer-lending-works.action

Installation and getting the data

  1. Clone the repository from GitHub git clone https://github.com/nfeege/loans-risk-assessment
  2. Change into repository directory cd loans-risk-assessment
  3. Make the data directory mkdir data
  4. Data source (data on loans from Lending Club): https://www.lendingclub.com/info/download-data.action This notebook uses Lending Club Loan Data from 2007-2011 downloaded and saved as data/LoanStats3a_2007_2011.csv
  5. Use jupyter notebook to run the main notebook loans-risk-assessment.ipynb

Data description

Data source (data on loans from Lending Club): https://www.lendingclub.com/info/download-data.action LoanStats3a_2007_2011.csv = Lending Club Loan Data from 2007-2011

Analysis

See the main Jupyter notebook for this project loans-risk-assessment.ipynb for details.

Conclusion

The prediciton whether a loan will be paid back in full or not would inform the decision about whther to invest in the proposal or not. Here, we choose to minimize the risk for investing, i.e. we aim to minimize investing in proposals for which the loan will not be paid back. The Logistic Regression (with manual penalties) achieves 25% true positive rate at 9% false positive rate. This is the lowest false positive rate for all compared algorithms, so based on this study, this is the best choice when aiming to minimize loss of money to loans that are not being paid back in full.

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.