CrashCourse · @crashcourse

Machine Learning & Artificial Intelligence: Crash Course Computer Science #34

Uploaded June 8, 2018 · Length 11:51

Machine Learning & Artificial Intelligence: Crash Course Computer Science #34

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.

  1. 0:02

    Hi, I’m Carrie Anne, and welcome to Crash Course Computer Science!

  2. 0:05

    As we’ve touched on many times in this series, computers are incredible at storing, organizing,

  3. 0:11

    fetching and processing huge volumes of data.

  4. 0:13

    That’s perfect for things like e-commerce websites with millions of items for sale,

  5. 0:17

    and for storing billions of health records for quick access by doctors.

  6. 0:20

    But what if we want to use computers not just to fetch and display data, but to actually

  7. 0:24

    make decisions about data?

  8. 0:26

    This is the essence of machine learning – algorithms that give computers the ability to learn from

  9. 0:31

    data, and then make predictions and decisions.

  10. 0:34

    Computer programs with this ability are extremely useful in answering questions like Is an email

  11. 0:38

    spam?

  12. 0:39

    Does a person’s heart have arrhythmia?

  13. 0:41

    What video should youtube recommend after this one?

  14. 0:43

    While useful, we probably wouldn’t describe these programs as “intelligent” in the

  15. 0:46

    same way we think of human intelligence.

  16. 0:48

    So, even though the terms are often interchanged, most computer scientists would say that machine

  17. 0:52

    learning is a set of techniques that sits inside the even more ambitious goal of Artificial

  18. 0:57

    Intelligence, or AI for short.

  19. 0:59

    INTRO

  20. 1:08

    Machine Learning and AI algorithms tend to be pretty sophisticated.

  21. 1:12

    So rather than wading into the mechanics of how they work, we're going to focus on what

  22. 1:16

    the algorithms do conceptually.

  23. 1:17

    Let’s start with a simple example: deciding if a moth is a Luna Moth or an Emperor Moth.

  24. 1:23

    This decision process is called classification, and an algorithm that does it is called a

  25. 1:27

    classifier.

  26. 1:28

    Although there are techniques that can use raw data for training – like photos and

  27. 1:31

    sounds – many algorithms reduce the complexity of real world objects and phenomena into what

  28. 1:36

    are called features.

  29. 1:37

    Features are values that usefully characterize the things we wish to classify.

  30. 1:41

    For our moth example, we’re going to use two features: “wingspan” and “mass”.

  31. 1:45

    In order to train our machine learning classifier to make good predictions, we’re going to

  32. 1:49

    need training data.

  33. 1:50

    To get that, we’d send an entomologist out into a forest to collect data for both luna

  34. 1:54

    and emperor moths.

  35. 1:56

    These experts can recognize different moths, so they not only record the feature values,