Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Why Machine Learning isn't Scary

Rivo Laks
February 17, 2019

Why Machine Learning isn't Scary

Rivo Laks

February 17, 2019
Tweet

More Decks by Rivo Laks

Other Decks in Technology

Transcript

  1. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 1/58
    Why Machine Learning
    isn't Scary
    PyCaribbean 2019
    Rivo Laks ⋅ 2019-02-17

    View Slide

  2. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 2/58
    Who is Rivo?
    Rivo Laks @rivolaks

    View Slide

  3. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 3/58
    One Year Ago
    Thorgate - Estonian product dev company
    Mostly full-stack web dev
    Rivo Laks @rivolaks

    View Slide

  4. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 4/58
    One Year Ago
    Thorgate - Estonian product dev company
    Mostly full-stack web dev
    Thinking about moving towards
    machine learning / data science
    Rivo Laks @rivolaks

    View Slide

  5. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 5/58
    Sabbatical
    Quit my previous job
    Went on a sabbatical
    Rivo Laks @rivolaks

    View Slide

  6. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 6/58
    Sabbatical
    Quit my previous job
    Went on a sabbatical
    Started doing ML courses ...
    Rivo Laks @rivolaks

    View Slide

  7. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 7/58
    Starting is Hard
    Rivo Laks @rivolaks

    View Slide

  8. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 8/58
    DjangoGirls
    Workshop to get women started
    with web development
    Rivo Laks @rivolaks

    View Slide

  9. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 9/58
    DjangoGirls
    Workshop to get women started
    with web development
    Makes starting with web dev less scary
    Rivo Laks @rivolaks

    View Slide

  10. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 10/58
    DjangoGirls
    Workshop to get women started
    with web development
    Makes starting with web dev less scary
    Takes away the mystery &
    shows you can do it
    Rivo Laks @rivolaks

    View Slide

  11. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 11/58
    Misconceptions in ML
    You need advanced math/statistics/etc
    degree to do ML... right?
    Rivo Laks @rivolaks

    View Slide

  12. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 12/58
    Misconceptions in ML
    You need advanced math/statistics/etc
    degree to do ML... right?
    Rivo Laks @rivolaks

    View Slide

  13. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 13/58
    fast.ai
    Rivo Laks @rivolaks

    View Slide

  14. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 14/58
    Rivo Laks @rivolaks

    View Slide

  15. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 15/58
    fast.ai o ers free deep learning courses
    Rivo Laks @rivolaks

    View Slide

  16. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 16/58
    fast.ai o ers free deep learning courses
    Aims to make deep learning accessible to
    everyone
    Rivo Laks @rivolaks

    View Slide

  17. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 17/58
    deep learning course
    Practical approach
    State-of-the-art
    Minimizes initial e ort needed
    Rivo Laks @rivolaks

    View Slide

  18. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 18/58
    Training a Simple Model
    From fast.ai's rst lesson
    Detect 35 dog & cat breeds
    Rivo Laks @rivolaks

    View Slide

  19. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 19/58
    Training a Simple Model
    Rivo Laks @rivolaks

    View Slide

  20. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 20/58
    Training a Simple Model
    From fast.ai's rst lesson
    Detect 35 dog & cat breeds
    Use pre-trained model
    Rivo Laks @rivolaks

    View Slide

  21. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 21/58
    Training a Simple Model
    path = untar_data(URLs.PETS)
    data = ImageDataBunch.from_folder(
    path, size=224,
    ).normalize(imagenet_stats)
    learn = create_cnn(data, models.resnet34)
    learn.fit_one_cycle(4)
    Rivo Laks @rivolaks

    View Slide

  22. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 22/58
    Training a Simple Model
    path = untar_data(URLs.PETS)
    data = ImageDataBunch.from_folder(
    path, size=224,
    ).normalize(imagenet_stats)
    learn = create_cnn(data, models.resnet34)
    learn.fit_one_cycle(4)
    95% accuracy!
    Rivo Laks @rivolaks

    View Slide

  23. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 23/58
    Course Topics
    Image classi cation
    Language models (NLP)
    Tabular data (e.g. sales predictions)
    Datasets preparation
    Some theory behind neural nets
    Rivo Laks @rivolaks

    View Slide

  24. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 24/58
    Real-World Applications
    Rivo Laks @rivolaks

    View Slide

  25. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 25/58
    More Data Than Ever Before
    Rivo Laks @rivolaks

    View Slide

  26. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 26/58
    More Data Than Ever Before
    It needs to be analyzed
    Rivo Laks @rivolaks

    View Slide

  27. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 27/58
    More Data Than Ever Before
    It needs to be analyzed
    Most jobs involve data processing
    Rivo Laks @rivolaks

    View Slide

  28. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 28/58
    More Data Than Ever Before
    It needs to be analyzed
    Most jobs involve data processing
    Machine learning skills are
    becoming universally necessary
    Rivo Laks @rivolaks

    View Slide

  29. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 29/58
    More Data Than Ever Before
    It needs to be analyzed
    Most jobs involve data processing
    Machine learning skills are
    becoming universally necessary
    Existing frameworks make it easy
    to get started
    Rivo Laks @rivolaks

    View Slide

  30. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 30/58
    Spectrum of ML Roles
    Rivo Laks @rivolaks

    View Slide

  31. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 31/58
    Spectrum of ML Roles
    Data scientist
    Rivo Laks @rivolaks

    View Slide

  32. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 32/58
    Spectrum of ML Roles
    Data scientist
    Machine learning engineer
    Rivo Laks @rivolaks

    View Slide

  33. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 33/58
    Spectrum of ML Roles
    Data scientist
    Machine learning engineer
    Data engineer
    Rivo Laks @rivolaks

    View Slide

  34. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 34/58
    Spectrum of ML Roles
    Data scientist
    Machine learning engineer
    Data engineer
    Software engineer
    Rivo Laks @rivolaks

    View Slide

  35. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 35/58
    Is Data Science Overhyped?
    Rivo Laks @rivolaks

    View Slide

  36. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 36/58
    Is Data Science Overhyped?
    Lots of junior data scientists
    entering the market
    Rivo Laks @rivolaks

    View Slide

  37. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 37/58
    Is Data Science Overhyped?
    Lots of junior data scientists
    entering the market
    Creating ML models is
    a tiny piece of puzzle
    Rivo Laks @rivolaks

    View Slide

  38. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 38/58
    Is Data Science Overhyped?
    Lots of junior data scientists
    entering the market
    Creating ML models is
    a tiny piece of puzzle
    Maybe get started with another role
    in the same eld
    Rivo Laks @rivolaks

    View Slide

  39. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 39/58
    Back to My Journey
    Rivo Laks @rivolaks

    View Slide

  40. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 40/58
    Programming Language Detector
    image-based detection of 8 languages
    Rivo Laks @rivolaks

    View Slide

  41. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 41/58
    Programming Language Detector
    image-based detection of 8 languages
    Rivo Laks @rivolaks

    View Slide

  42. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 42/58
    Programming Language Detector
    image-based detection of 8 languages
    very similar to fast.ai lesson
    Rivo Laks @rivolaks

    View Slide

  43. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 43/58
    Programming Language Detector
    image-based detection of 8 languages
    very similar to fast.ai lesson
    95% accuracy
    Rivo Laks @rivolaks

    View Slide

  44. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 44/58
    Robotex
    Rivo Laks @rivolaks

    View Slide

  45. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 45/58
    Robotex
    Goal: predict customer satisfaction
    Rivo Laks @rivolaks

    View Slide

  46. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 46/58
    Robotex
    Goal: predict customer satisfaction
    Solution: calculate subscores for each input
    parameter, then sum the subscores
    Rivo Laks @rivolaks

    View Slide

  47. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 47/58
    Robotex
    Goal: predict customer satisfaction
    Solution: calculate subscores for each input
    parameter, then sum the subscores
    Surprisingly won the competition :)
    Rivo Laks @rivolaks

    View Slide

  48. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 48/58
    Job Offers
    Started looking at jobs
    Rivo Laks @rivolaks

    View Slide

  49. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 49/58
    Job Offers
    Started looking at jobs
    Got several very interesting o ers
    Rivo Laks @rivolaks

    View Slide

  50. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 50/58
    Job Offers
    Started looking at jobs
    Got several very interesting o ers
    Also got turned down couple of times
    Rivo Laks @rivolaks

    View Slide

  51. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 51/58
    Veriff
    Joined Veri 3 weeks ago
    Rivo Laks @rivolaks

    View Slide

  52. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 52/58
    Veriff
    Joined Veri 3 weeks ago
    Estonian startup doing
    online identity veri cation
    Rivo Laks @rivolaks

    View Slide

  53. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 53/58
    Veriff
    Joined Veri 3 weeks ago
    Estonian startup doing
    online identity veri cation
    Machine learning engineer,
    getting models into production
    Rivo Laks @rivolaks

    View Slide

  54. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 54/58
    Final Words
    Take it one step at a time
    Rivo Laks @rivolaks

    View Slide

  55. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 55/58
    Final Words
    Take it one step at a time
    There's a lot of excellent material online
    Rivo Laks @rivolaks

    View Slide

  56. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 56/58
    Final Words
    Take it one step at a time
    There's a lot of excellent material online
    Machine learning roles are spectrum,
    pick wisely and use your existing skills
    Rivo Laks @rivolaks

    View Slide

  57. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 57/58
    Links
    My programming language detector
    fast.ai online course
    Data science is di erent now - Vicki Boykis
    But what is this “machine learning
    engineer” actually doing? - Tomasz Dudek
    Rivo Laks @rivolaks

    View Slide

  58. 2/17/2019 Why Machine Learning isn't Scary
    file:///home/rivo/Projektid/talk-pycaribbean-2019/index.html#1 58/58
    Thanks! Questions?
    Rivo Laks ⋅ @rivolaks ⋅ rivolaks.com
    tinyurl.com/pyc-MLNotScary

    View Slide