Lending Club Loans: Brief Introduction LendingClub is a US peer-to-peer lending company, headquartered in San Francisco, California.[3] It was the first peer-to-peer lender to register its offerings as securities with the Securities and Exchange Commission (SEC), and to offer loan trading on a secondary market. LendingClub is the world's largest peer-to-peer lending platform. Objective Building a model that predicts whether the borrower can payback the loan or not, so in the future we can assess the customer and whether or not he's likely to payback his loan. Main Strategy Our main objective is not lending a person that is not going to payback his loan which would be a Type 1 error, Therefore we must depend on the recall score of the loans not payed category by doing methods that might reduce our accuracy but ultimately increasing our recall. Step 1: Exploratory Data Analysis and Feature Engineering Getting a general idea of datatypes and null values for each column Using Seaborn to visualize the data by plotting charts We see that the labels are imbalanced with a ratio of 4:1 (fully_paid, charged_off) Imbalance between Fully Paid and being Charged Off can negatively affect our model that tries to have a high recall score for the Charged Off label, a poor recall score could be achieved when overfitting to the Fully Paid portion We downsample the fully paid portion to the size of the charged off portion. Removing outliers that may result in misleading interpretations. Handling nan values and transforming strings to numeric data-types Dropping columns if they won't be used in our model or be used in feature engineering. Extracting the zip-code from the address column. Encoding columns and getting dummy variables. Filling na values with the mean for values that don't have a high correlation with the loan status. Using Random Forest Regressor to predict the missing values in the mort_acc column as it is highly correlated to the loan_status. Step 2: Building the model Splitting the data into train and test data 80, 20 split Taking the test data and upsampling the fully paid portion to get a realistic summary of the metrics Using a sequential model for our ANN model Building the model to have 4 layers and an activation of rectified linear unit(except the last layer which is sigmoid), a Dropout of 0.2 and building it for binary classification using the Adam optimizer. Saving the model and checking the losses for the model. Checking the predictions. Conclusion: We get a well rounded classification report, and we get a recall score of 0.81 and an accuracy score of 0.80, we can further tune our model and get better recall score for charging off for example but that may affect our overall accuracy and that depends on how we want our model to perform.
Lending-Club-Loans - Using TensorFlow to create an ANN model to predict whether people would charge off or pay back their loans.
Overview
A minimalist file manager for those who want to use Linux mobile devices.
Portfolio A minimalist file manager for those who want to use Linux mobile devices. Usage Tap to activate and press to select, to browse, open, copy,
Monitor your Binance portfolio
Binance Report Bot The intent of this bot is to take a snapshot of your binance wallet, e.g. the current balances and store it for further plotting. I
WakeNote is a tool that hides notifications from you until you confirm you want to read them, with technology to help prevent the reading of depressing messages first thing in the morning.
By: Seanpm2001, Et; Al. Top README.md Read this article in a different language Sorted by: A-Z Sorting options unavailable ( af Afrikaans Afrikaans |
Discord-Token-Formatter - A simple script to convert discord tokens from email token to token only format
Discord-Token-Formatter A simple script to convert discord tokens from email:pas
Streaming Finance Data with AWS Lambda
A data pipeline consisting of an AWS lambda function reading data from yfinance API, an AWS Kinesis stream to receive & store data in S3 buckets and AWS Glue crawler & Athena to run SQL queries.
Construindo API's robustas utilizando Python
🐂 Construindo API's robustas utilizando Python Neste tutorial vamos aprender a construir API's utilizando Python e FastAPI, integrá-las a serviços ex
A python script that can send notifications to your phone via SMS text
Discord SMS Notification A python script that help you send text message to your phone one of your desire discord channel have a new message. The proj
Stock Market Insights is a Dashboard that gives the 360 degree view of the particular company stock
fedora-easyfix A collection of self-contained and well-documented issues for newcomers to start contributing with How to setup the local development e
A discord bot providing notifications of player activity on a minecraft server.
tos-alert A discord bot providing notifications of player activity on a minecraft server. Setup By default the app does not launch and will crash with
An Undertale RPG Discord bot to fight monsters, bosses, level up and duel with other players
UNDERTALE-RPG An Undertale RPG Discord bot to fight monsters, bosses, level up and duel with other players!. Explanation you can collect gold which is
A simple tool that lets you know when you are out of Lost Ark's queues
Overview A simple tool that lets you know when you are out of Lost Ark's queues. You can be notified via: Sound: the app will play a sound Discord web
cipher bot telegram
cipher-bot-telegram cipher bot telegram Telegram bot that encode/decode your messages To work correctly, you must install the latest version of python
Drcom-pt-client - Drcom Pt version client with refresh timer
drcom-pt-client Drcom Pt version client with refresh timer Dr.com Pt版本客户端 可用于网页认
GroupMenter : New Telegram Group Manager Bot🔸Fast 🔸Python🔸Pyrogram 🔸
GroupMenter An PowerFull Group Manager Bot. Written In Pytelethon. Info • A modular Telegram Python bot running on python3. • Can be found on telegram
Pycord, a maintained fork of discord.py, is a python wrapper for the Discord API
pycord A fork of discord.py. PyCord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Mo
Simple contact bot for telegram, written in python.
🔗 | Install Install the requirements with pip install -r requirements.txt 📋 | Setup Get your token from BotFather Get your UserId with Nicegram or w
This repository provides a set functions to extract paragraphs from AWS Textract responses.
extract-paragraphs-with-aws-textract Since AWS Textract (the AWS OCR service) does not have a native function to extract paragraphs, this repository p
A Python library for the Discourse API
pydiscourse A Python library for working with Discourse. This is a fork of the original Tindie version. It was forked to include fixes, additional fun
Some python code to make twitter bots ;)
How to set up a twitter bot using python's tweepy library Create a twitter developer account and project Make sure you are logged into your twitter ac
Apex lets you build, deploy, and manage AWS Lambda functions with ease.
No longer maintained This software is no longer being maintainted and should not be chosen for new projects. See this issue for more information Apex