CrashCourse · @crashcourse
Supervised Machine Learning: Crash Course Statistics #36
Uploaded June 8, 2019 · Length 11:51
Summary
Learn about supervised machine learning, including logistic regression, linear discriminant analysis, and K-Nearest Neighbors, for predicting future outcomes.
- supervised machine learning
- logistic regression
- linear discriminant analysis
- K-Nearest Neighbors
- predictive modeling
- data science basics
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:03
Hi, I’m Adriene Hill, and welcome back to Crash Course Statistics. We’ve covered a
- 0:06
lot of statistical models, from the matched pairs t-test to linear regression. And for
- 0:11
the most part, we’ve used them to model data that we already have so we can make inferences
- 0:15
about it.
- 0:16
But sometimes we want to predict future data. A model that predicts whether someone will
- 0:20
default on their loan could be very helpful to a bank employee. They’re probably not
- 0:24
writing scientific papers about why people default on loans, but they do care about accurately
- 0:30
predicting who will.
- 0:32
Many types of Machine Learning (ML) do just that: build models to predict future outcomes.
- 0:37
And this field has exploded over the past few decades. Supervised Machine Learning takes
- 0:42
data that already has a correct answer, like images that have been labeled as “cat”
- 0:47
or “not a cat”, or the current salary of a company’s CEO, and tries to learn how
- 0:52
to predict it. It’s supervised because we can tell the model what it got wrong.
- 0:56
It’s called Machine Learning because instead of following strict rules and instructions
- 1:01
from humans, the computers (or machines) learn how to do things from data.
- 1:06
Today, we’ll briefly cover a few types of supervised Machine Learning models, logistic
- 1:11
regression, Linear Discriminant Analysis, and K Nearest Neighbors.
- 1:16
Intro
- 1:25
Say you own a microloan company. Your goal is to give short term, low interest loans
- 1:29
to people around the world, so they can invest in their small businesses. You have everyone
- 1:34
fill out an application that asks them to specify things like their age, sex, annual
- 1:39
income, and the number of years they’ve been in business.
- 1:42
The microloan is not a donation, the recipient is supposed to pay it back. So you need to
- 1:46
figure out who is most likely to do that.
- 1:48
During the early days of your company, you reviewed each application by hand and made
- 1:52
that decision based on personal experience of who was likely to pay back the loan.
- 1:57
But now you have more money and applicants than you could possibly handle. You need a


