Fireship · @fireship

ML Engine - Machine Learning in the Cloud

Uploaded October 4, 2018 · Length 15:05

ML Engine - Machine Learning in the Cloud

Summary

Deploying a custom machine learning model to the cloud using ML Engine, Python, and Firebase.

  • machine learning in the cloud
  • ml engine deployment
  • python machine learning
  • firebase ml
  • cloud computing

Transcript preview

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

  1. 0:00

    [Music]

  2. 0:06

    today we'll start from zero and finish

  3. 0:08

    the video with our own custom machine

  4. 0:10

    learning model deployed to the cloud as

  5. 0:12

    an API we will pull some actual user

  6. 0:14

    data that we have saved in the firestore

  7. 0:16

    database then we'll export it to data

  8. 0:18

    lab so we can train a Python based

  9. 0:20

    machine learning model with virtually

  10. 0:21

    unlimited compute resources once we have

  11. 0:24

    a solid model in place we'll deploy it

  12. 0:26

    to ml engine so we can version it and

  13. 0:28

    analyze it in production and finally we

  14. 0:30

    will expose it to the universe by making

  15. 0:32

    it available in a firebase cloud

  16. 0:34

    function but before you that make sure

  17. 0:36

    to LIKE and subscribe and I'll be giving

  18. 0:38

    away this one-of-a-kind Python brain

  19. 0:39

    t-shirt all you have to do is leave a

  20. 0:41

    comment below then we'll pick a random

  21. 0:42

    winner via livestream next week this

  22. 0:45

    video was made in collaboration with

  23. 0:46

    Roddy Chilika who is get this only in

  24. 0:49

    the seventh grade and already doing

  25. 0:50

    crazy stuff with tensorflow firebase and

  26. 0:53

    a bunch of other tech in addition to

  27. 0:54

    this video you'll also want to check out

  28. 0:56

    his github repo that shows you how to

  29. 0:58

    train a tensor flow model directly in a

  30. 1:00

    cloud function now we're ready to get

  31. 1:02

    started and we'll do something that

  32. 1:03

    we've never done on this channel before

  33. 1:04

    and that's right Python code Python is

  34. 1:07

    the most commonly used language for

  35. 1:09

    machine learning problems and it's

  36. 1:10

    pretty easy to learn if you already know

  37. 1:11

    JavaScript if you want to get inspired

  38. 1:13

    by Python head over to Kaggle and check

  39. 1:15

    out some of the amazing work done by a

  40. 1:17

    real data scientist in today's video

  41. 1:19

    you'll learn not only how to build and

  42. 1:21

    train a machine learning model but also

  43. 1:22

    how to deploy it to the cloud as a real

  44. 1:24

    product that people can use the first

  45. 1:28

    step in any machine learning problem is

  46. 1:30

    the underlying data a practical use case

  47. 1:32

    for a firebase developer would be to

  48. 1:34

    save some information about a user in

  49. 1:36

    the firestore database then train that

  50. 1:38

    data to build a predictive model that

  51. 1:39

    adds some value to the user experience

  52. 1:41

    if we look in our database you can see

  53. 1:43

    here we have a collection of developer

  54. 1:45

    records and each one will tell us what

  55. 1:47

    tools this developer uses and their

  56. 1:49

    overall happiness as a developer this is

  57. 1:52

    just synthetic data that I generated for

  58. 1:54

    this demo but you can think of it as

  59. 1:55

    being information that you might collect

  60. 1:56

    from a user survey or something along

  61. 1:58

    those lines machine learning problems