Code Monkey home page Code Monkey logo

lendingclub's Introduction

Lending Club Notes scoring

Allows people to lend to others in $25 increments by buying Notes. Lending Club takes a small cut (compared to traditional banks).

The code here trains GBM model in R on historical data that aims to predict probability of default for each Note based on some of its attributes. The model is then applied to loans in funding and these are then sorted in descending order by the expected profitability ~ interest rate adjusted by the chance of default. According to the model the Notes have different probabilities of default despite being in the same "risk" category which could potentially allow one to get a higher return than choosing randomly.

the go script fetches data from Lending Club site, trains a model on past loans, scores the new 'in-funding' loans and sorts them by expected profitability.

Caveats

Use at your own risk!

Depends on many assumptions which are not necessarily satisfied. Such as that the attributes in training data (past loans) and test data (loans in funding) have the same meaning and distribution. For some attributes mapping is necessary which could have introduced noise or systematic bias. The risk category is a strong feature but the scoring by Lending club probably changed over time. Also the economy influences the overall rates of default so past performance cannot be guarantee of future performance.

lendingclub's People

Contributors

petricek avatar pak21 avatar

Watchers

Stefan Mai 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.