Git Product home page Git Product logo

lcpredictionproject's Introduction

LCPredictionProject

Predicting whether or a loan on lending club will charge off.

In this project, I use data on lending club loans to predict whether or not a given loan will charge off (lending club gives up on collecting payments on it.)

Guide:

LCLoadAndClean.ipynb : This python notebook file outlines how I loaded and cleaned the data.

LCgridSearchR.py : This python script was run on an AWS instance. It runs model gridsearches on subsets of the data and writes output results to text files. This script was run on subsets that had balanced classes, so rebalancing was deemed unnecessary.

LCgridSearchNR.py : This python script was also run on an AWS instance. It runs model gridsearches on subsets of the data and writes output results to text files. This script was run on subsets with imbalanced classes, so it rebalances before running the gridsearches.

LCModelResults.ipynb : This python notebook file explores the results of the modeling.

All the text files: These text files were written by the two python scripts already mentioned. The ones that begin with the prefix 'lr' represent logistic regression models, while those that begin with the prefix 'rf' represent random forest models. The next two characters represent the subset of the lending club data the models were built on. Each text file contains a confusion matrix of the model being tested on a test set, as well as a score, which represents the rate of return you would achieve if you invested according to the model.

lcpredictionproject's People

Contributors

riyersk avatar

Watchers

James Cloos avatar  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.