Let’s first acknowledge that hacking has negative connotations surrounding it. Society has ingrained us to picture a person with a hoodie over their head sitting in a dark room, surrounded by computers and coding at an ungodly pace. That a hacker is someone who intends to perform malicious acts.
I’m here to tell you this is not entirely true. To me, hacking looks more like this:
Hacking, in this context, is when you are “hacking” a problem. In other words, you are:
Lending Club connects people who need money (borrowers) with people who have money (investors). Investors tend to give money to people who are less risky and more likely to pay their loans back. With that said, we are going to predict whether a borrower paid their loan back in full.
To do so, we are going to create a Random Forest model and a Support Vector model using the same train/test data. The final model will minimize the number of borrowers who were predicted they paid back their loan in full when they actually did not (our model selection criteria). …
In this article, we are going to put a spin on my previous Medium post where I used Logistic Regression to predict whether or not a patient had a positive breast cancer diagnosis. If you need a refresher, you can find the first post here and can see the dataset and full code here.
Logistic Regression is a classification model that predicts a binary outcome. Binary means you have two choices — typically 0 and 1. …