< Return to Video

What is Machine Learning? (7 min)

  • 0:00 - 0:05
    What is machine learning? In this video we
    will try to define what it is and also try
  • 0:05 - 0:10
    to give you a sense of when you want to
    use machine learning. Even among machine
  • 0:10 - 0:14
    learning practitioners there isn't a well
    accepted definition of what is and what
  • 0:14 - 0:19
    isn't machine learning. But let me show
    you a couple of examples of the ways that
  • 0:19 - 0:24
    people have tried to define it. Here's the
    definition of what is machine learning
  • 0:24 - 0:29
    does to Arthur Samuel. He defined machine
    learning as the field of study that gives
  • 0:31 - 0:34
    computers the ability to learn without being
    explicitly programmed. Samuel's claim to
  • 0:34 - 0:38
    fame was that back in the 1950's, he wrote
    a checkers playing program. And the
  • 0:38 - 0:44
    amazing thing about this checkers playing
    program, was that Arthur Samuel himself,
  • 0:44 - 0:48
    wasn't a very good checkers player. But
    what he did was, he had to program for it to play
  • 0:48 - 0:52
    10's of 1000's of games against itself.
    And by watching what sorts of board
  • 0:52 - 0:57
    positions tended to lead to wins, and what
    sort of board positions tended to lead to
  • 0:57 - 1:01
    losses. The checkers playing program
    learns over time what are good board
  • 1:01 - 1:05
    positions and what are bad board
    positions. And eventually learn to play
  • 1:05 - 1:10
    checkers better than Arthur Samuel himself
    was able to. This was a remarkable result.
  • 1:10 - 1:15
    Although Samuel himself turned out not to be a
    very good checkers player. But because the
  • 1:15 - 1:19
    computer has the patience to play tens
    of thousands of games itself. No
  • 1:19 - 1:24
    human, has the patience to play that many
    games. By doing this the computer was able
  • 1:24 - 1:29
    to get so much checkers-playing experience that it eventually became a
  • 1:29 - 1:34
    better checkers player than Arthur Samuel
    himself. This is somewhat informal
  • 1:34 - 1:39
    definition, and an older one. Here's a
    slightly more recent definition by Tom
  • 1:39 - 1:44
    Mitchell, who's a friend out of Carnegie
    Mellon. So Tom defines machine learning by
  • 1:44 - 1:49
    saying that, a well posed learning problem
    is defined as follows. He says, a computer
  • 1:49 - 1:54
    program is said to learn from experience
    E, with respect to some task T, and some
  • 1:54 - 1:59
    performance measure P, if its
    performance on T as measured by P improves
  • 1:59 - 2:04
    with experience E. I actually think he came
    up with this definition just to make it
  • 2:04 - 2:08
    rhyme. For the checkers playing
    example the experience e, will be the
  • 2:08 - 2:13
    experience of having the program play 10's
    of 1000's of games against itself. The
  • 2:13 - 2:18
    task t, will be the task of playing
    checkers. And the performance measure p,
  • 2:18 - 2:22
    will be the probability that it
    wins the next game of checkers against
  • 2:22 - 2:27
    some new opponent. Throughout these
    videos, besides me trying to teach you
  • 2:27 - 2:32
    stuff, I will occasionally ask you a
    question to make sure you understand the
  • 2:32 - 2:37
    content. Here's one, on top is a
    definition of machine learning by Tom
  • 2:37 - 2:42
    Mitchell. Let's say your email program
    watches which emails you do or do not flag
  • 2:42 - 2:48
    as spam. So in an email client like this
    you might click this spam button to report
  • 2:48 - 2:53
    some email as spam, but not other emails
    and. Based on which emails you mark as
  • 2:53 - 2:59
    spam, so your e-mail program learns better
    how to filter spam e-mail. What is the
  • 2:59 - 3:04
    task T in this setting? In a few seconds,
    the video will pause. And when it does so,
  • 3:04 - 3:10
    you can use your mouse to select one of
    these four radio buttons to let, to let me
  • 3:10 - 3:40
    know which of these four you think is the
    right answer to this question. That might
  • 3:40 - 3:46
    be a performance measure P. And so, our
    task performance on the task our system's
  • 3:46 - 3:51
    performance on the task T, on the
    performance measure P will improve after
  • 3:51 - 3:56
    the experience E. In this class I hope to
    teach you about various different types of
  • 3:56 - 4:01
    learning algorithms. There are several
    different types of learning algorithms.
  • 4:01 - 4:06
    The main two types are what we call
    supervised learning and unsupervised
  • 4:06 - 4:11
    learning. I'll define what these terms
    mean more in the next couple videos. But
  • 4:11 - 4:16
    it turns out that in supervised learning,
    the idea is that we're going to teach the
  • 4:16 - 4:21
    computer how to do something, whereas in
    unsupervised learning we're going let
  • 4:21 - 4:25
    it learn by itself. Don't worry if these
    two terms don't make sense yet, in the
  • 4:25 - 4:30
    next two videos I'm going to say exactly
    what these two types of learning are. You
  • 4:30 - 4:34
    will also hear other buzz terms such as
    reinforcement learning and recommender
  • 4:34 - 4:39
    systems. These are other types of machine
    learning algorithms that we'll talk about
  • 4:39 - 4:42
    later but the two most used types of
    learning algorithms are probably
  • 4:42 - 4:47
    supervised learning and unsupervised
    learning and I'll define them in the next
  • 4:47 - 4:51
    two videos and we'll spend most of this
    class talking about these two types of
  • 4:51 - 4:56
    learning algorithms. It turns out one of
    the other things we'll spend a lot of time
  • 4:56 - 5:00
    on in this class is practical advice for
    applying learning algorithms. This is
  • 5:00 - 5:04
    something that I feel pretty strongly
    about, and it's actually something that I
  • 5:04 - 5:08
    don't know of any other university
    teaches. Teaching about learning
  • 5:08 - 5:13
    algorithms is like giving you a set of
    tools, and equally important or more
  • 5:13 - 5:18
    important to giving you the tools is to
    teach you how to apply these tools. I like
  • 5:18 - 5:22
    to make an analogy to learning to become a
    carpenter. Imagine that someone is
  • 5:22 - 5:27
    teaching you how to be a carpenter and
    they say here's a hammer, here's a
  • 5:27 - 5:31
    screwdriver, here's a saw, good luck.
    Well, that's no good, right? You, you, you
  • 5:31 - 5:35
    have all these tools, but the more
    important thing, is to learn how to use
  • 5:35 - 5:39
    these tools properly. There's a huge
    difference between, between people that
  • 5:39 - 5:43
    know how to use these machines learning
    algorithms, versus people who don't know
  • 5:43 - 5:48
    how to use these tools well. Here in
    Silicon Valley where I live, when I go
  • 5:48 - 5:52
    visit different companies even at the
    top Silicon Valley companies very often I see
  • 5:52 - 5:56
    people are trying to apply machine
    learning algorithms to some problem and
  • 5:56 - 6:01
    sometimes they have been going at it for
    six months. But sometimes when I look at
  • 6:01 - 6:05
    what they're doing I, I, I say, you know,
    I could have told them like, gee, I could
  • 6:05 - 6:10
    have told you six months ago that you
    should be taking a learning algorithm and
  • 6:10 - 6:14
    applying it in like the slightly modified
    way and your chance of success would have
  • 6:14 - 6:20
    been much higher. So what we're going to
    do in this class is actually spend a lot
  • 6:20 - 6:24
    of time talking about how, if you actually
    tried to develop a machine learning
  • 6:24 - 6:28
    system, how to make those best practices
    type decisions about the way in which you
  • 6:28 - 6:31
    build your system so that when you're
    applying learning algorithm you're less
  • 6:31 - 6:35
    likely to end up one of those people who
    end up pursuing some path for six months
  • 6:35 - 6:39
    that, you know, someone else could have
    figured out it just wasn't gonna work at
  • 6:39 - 6:44
    all and it's just a waste of time for six
    months. So I'm actually going to spend a
  • 6:44 - 6:48
    lot of the time teaching you those sorts
    of best practices in machine learning and
  • 6:48 - 6:52
    AI and how to get this stuff to work and
    how we do it, how the best people do it in
  • 6:52 - 6:56
    Silicon Valley and around the world. I
    hope to make you one of the best people in
  • 6:56 - 7:00
    knowing how to design and build serious
    machine learning and AI systems. So,
  • 7:00 - 7:05
    that's machine learning and these are the
    main topics I hope to teach. In the next
  • 7:05 - 7:09
    video, I'm going to define what is
    supervised learning and after that, what
  • 7:09 - 7:14
    is unsupervised learning. And also, start
    to talk about when you would use each of them.
Title:
What is Machine Learning? (7 min)
Video Language:
English

English subtitles

Revisions