Fireship · @fireship

Machine Learning Explained in 100 Seconds

Uploaded September 9, 2021 · Length 2:35

Machine Learning Explained in 100 Seconds

Summary

machine learning explained in 100 seconds, how algorithms learn from data to make predictions.

  • machine learning
  • data science
  • algorithm
  • predictive models
  • data analysis

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    machine learning teach a computer how to

  2. 0:02

    perform a task without explicitly

  3. 0:04

    programming it to perform said task

  4. 0:06

    instead feed data into an algorithm to

  5. 0:09

    gradually improve outcomes with

  6. 0:10

    experience similar to how organic life

  7. 0:13

    learns the term was coined in 1959 by

  8. 0:15

    Arthur Samuel at IBM who is developing

  9. 0:18

    artificial intelligence that could play

  10. 0:19

    checkers half a century later and

  11. 0:21

    predictive models are embedded in many

  12. 0:23

    of the products we use every day which

  13. 0:25

    perform two fundamental jobs one is to

  14. 0:27

    classify data like is there another car

  15. 0:29

    on the road or does this patient have

  16. 0:31

    cancer the other is to make predictions

  17. 0:33

    about future outcomes like will the

  18. 0:35

    stock go up or which YouTube video do

  19. 0:37

    you want to watch next the first step in

  20. 0:39

    the process is to acquire and clean up

  21. 0:41

    data lots and lots of data the better

  22. 0:43

    the data represents the problem the

  23. 0:45

    better the results garbage in garbage

  24. 0:47

    out the data needs to have some kind of

  25. 0:49

    signal to be valuable to the algorithm

  26. 0:51

    for making predictions and data

  27. 0:52

    scientists perform a job called feature

  28. 0:54

    engineering to transform raw data into

  29. 0:57

    features that better represent the

  30. 0:59

    underlying problem the next step is to

  31. 1:01

    separate the data into a training set

  32. 1:03

    and testing set the training data is fed

  33. 1:05

    into an algorithm to build a model then

  34. 1:07

    the testing data is used to validate the

  35. 1:09

    accuracy or error of the model the next

  36. 1:12

    step is to choose an algorithm which

  37. 1:14

    might be a simple statistical model like

  38. 1:16

    linear or logistic regression or a

  39. 1:18

    decision tree that assigns different

  40. 1:19

    weights to features in the data or you

  41. 1:21

    might get fancy with a convolutional

  42. 1:23

    neural network which is an algorithm

  43. 1:25

    that also assigns weights to Features

  44. 1:27

    but also takes the input data and

  45. 1:29

    creates a additional features

  46. 1:30

    automatically and that's extremely

  47. 1:32

    useful for data sets that contain things

  48. 1:34

    like images or natural language where

  49. 1:36

    manual feature engineering is virtually

  50. 1:38

    impossible every one of these algorithms

  51. 1:40

    learns to get better by comparing its

  52. 1:42

    predictions to an error function if it's

  53. 1:44

    a classification problem like is this

  54. 1:46

    animal a cat or a dog the error function

  55. 1:48

    might be accuracy if it's a regression

  56. 1:51

    problem like how much will a loaf of

  57. 1:52

    bread cost next year then it might be

  58. 1:54

    mean absolute error python is the

  59. 1:56

    language of choice among data scientists

  60. 1:59

    but R and Julia are also popular options