CrashCourse · @crashcourse
Machine Learning & Artificial Intelligence: Crash Course Computer Science #34
Uploaded June 8, 2018 · Length 11:51
Summary
This video explains machine learning and artificial intelligence, focusing on how algorithms learn from data to make predictions and decisions, using moth classification as an example.
- machine learning explained
- artificial intelligence basics
- how algorithms learn
- data classification example
- decision trees explained
- neural networks intro
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:02
Hi, I’m Carrie Anne, and welcome to Crash Course Computer Science!
- 0:05
As we’ve touched on many times in this series, computers are incredible at storing, organizing,
- 0:11
fetching and processing huge volumes of data.
- 0:13
That’s perfect for things like e-commerce websites with millions of items for sale,
- 0:17
and for storing billions of health records for quick access by doctors.
- 0:20
But what if we want to use computers not just to fetch and display data, but to actually
- 0:24
make decisions about data?
- 0:26
This is the essence of machine learning – algorithms that give computers the ability to learn from
- 0:31
data, and then make predictions and decisions.
- 0:34
Computer programs with this ability are extremely useful in answering questions like Is an email
- 0:38
spam?
- 0:39
Does a person’s heart have arrhythmia?
- 0:41
What video should youtube recommend after this one?
- 0:43
While useful, we probably wouldn’t describe these programs as “intelligent” in the
- 0:46
same way we think of human intelligence.
- 0:48
So, even though the terms are often interchanged, most computer scientists would say that machine
- 0:52
learning is a set of techniques that sits inside the even more ambitious goal of Artificial
- 0:57
Intelligence, or AI for short.
- 0:59
INTRO
- 1:08
Machine Learning and AI algorithms tend to be pretty sophisticated.
- 1:12
So rather than wading into the mechanics of how they work, we're going to focus on what
- 1:16
the algorithms do conceptually.
- 1:17
Let’s start with a simple example: deciding if a moth is a Luna Moth or an Emperor Moth.
- 1:23
This decision process is called classification, and an algorithm that does it is called a
- 1:27
classifier.
- 1:28
Although there are techniques that can use raw data for training – like photos and
- 1:31
sounds – many algorithms reduce the complexity of real world objects and phenomena into what
- 1:36
are called features.
- 1:37
Features are values that usefully characterize the things we wish to classify.
- 1:41
For our moth example, we’re going to use two features: “wingspan” and “mass”.
- 1:45
In order to train our machine learning classifier to make good predictions, we’re going to
- 1:49
need training data.
- 1:50
To get that, we’d send an entomologist out into a forest to collect data for both luna
- 1:54
and emperor moths.
- 1:56
These experts can recognize different moths, so they not only record the feature values,


