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 Python SDK for Tinybird 🐦
Verdin Verdin is a tiny bird, and also a Python SDK for Tinybird . Install pip install verdin Usage Query a Pipe # the tinybird module exposes all im
Stackoverflow Telegram Bot With Python
Template for Telegram Bot Template to create a telegram bot in python. How to Run Set your telegram bot token as environment variable TELEGRAM_BOT_TOK
An Inline Telegram YouTube Downloader bot with custom, permanent thumbnail support and cancel upload facility. Make your fork now.
Inline-Tube-Mate (YouTube Downloader) An Inline Telegram bot that can download YouTube videos with permanent thumbnail support Bot need to be in Inlin
Pretend to be a discord bot
Pretendabot © Pretend to be a discord bot! About Pretendabot© is an app that lets you become a discord bot!. It uses discord intrigrations(webhooks) a
A self-bot for discord, written in Python, which will send you notifications to your desktop if it detects an intruder on your discord server
A self-bot for discord, written in Python, which will send you notifications to your desktop if it detects an intruder on your discord server
Public repo of the bot
wiki-reddit-bot Public repo of u/wikipedia_answer_bot Tools Language: Python Libraries: praw (Reddit API) mediawikiapi (Wikipedia API) tenacity How it
Asynchronous Python Wrapper for the Ufile API
Ufile.io Asynchronous Python Wrapper for the Ufile API (Unofficial).
Telegram music & video bot direct play music
⚡ NOINOI MUSIC PLAYER 🎵 SUPERFAST MUSIC BOT WHO CAN DIRECT PLAY SONG ON TELEGRAM VOICE CHAT ALSO CAN PLAY VIDEO ON VOICE CHATS ✨ Heroku Deploy YOU CA
Assassination API for getting random quotes from Assassination Classroom.
Assassination API Take advantage of what you have, while you have it. Quotes from Assassination Classroom Assassination classroom is one of best anime
This is a simple code for discord bot !
Discord bot dice roller this is a simple code for discord bot it can roll 1d4, 1d6, 1d8, 1d10, 1d12, 1d20, 1d100 for you in your discord server. Actua
Fast discord token checker with high cpm
Discord-Token-checker Fast discord token checker with high cpm preivew Download git clone https://github.com/TusTusDev/Discord-Token-checker pip insta
A Simple Telegram Maths Calculator Bot
Calculator-Bot-v1 A Simple Telegram Maths Calculator Bot Demo BOT LINK: Variables Variables Required Variables API_HASH: Get
HackerNews and Reddit in one placce
EDIT: this project is 3.5 years old. I found it sad it's just laying around, so I did some minimal fixes and deployed it. Hope you enjoy! (PR's welcom
A python bot that will allow you to have maximum luck during Veve drops.
VeveBot You can follow me here Github | Twitter Features: - Click on the purchase at the time of the drop. - Be able to choose to do more than one tes
Código python para automatizar a junção de arquivos CSV's e salva-los em uma pasta final de destino.
merge_csv Código python para automatizar a junção de arquivos CSV's e salva-los em uma pasta final de destino. Esse projeto é usado pra unir alguns ar
This is a open source discord bot project
pythonDiscordBot This is a open source discord bot project #based on the MAX A video: https://www.youtube.com/watch?v=jHZlvRr9KxM Prerequisites Python
Asynchronous Python Wrapper for the GoFile API
Asynchronous Python Wrapper for the GoFile API
BleachBit system cleaner for Windows and Linux
BleachBit BleachBit cleans files to free disk space and to maintain privacy. Running from source To run BleachBit without installation, unpack the tar
The Python version of the official Discord bot for the Astura Studios Discord community server.
About Astura (Python version) is the official Discord bot for the Astura Studios Discord community server developed and maintained by Ascendus and the
☄️ High performance, easy to use and feature-rich Solana SDK for Python.
Solathon is an high performance, easy to use and feature-rich Solana SDK for Python. Easy for beginners, powerful for real world applications.