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

ML on GCP: Design-Develop-Deploy

ML on GCP: Design-Develop-Deploy

The Machine Learning models developed once with limited resources has to reach multiple clients which should be capable for scaling and learning in real-time. Google's AI Platform makes it easy to take your ML projects from ideation to production and deployment, quickly and cost-effectively.
Learn about ML APIs, AutoML, and Cloud ML Engine products of Google Cloud Platform.

Charmi Chokshi

December 07, 2019
Tweet

More Decks by Charmi Chokshi

Other Decks in Technology

Transcript

  1. Hello World!

    View Slide

  2. How’s the JOOOSHHH?

    View Slide

  3. How’s the JOOOSHHH?

    View Slide

  4. ML on GCP:
    Design-Develop-Deploy
    by @CharmiChokshi
    Machine Learning Engineer @Shipmnts.com

    View Slide

  5. 90% have failed to solve this...

    View Slide

  6. 99.9% have failed to solve this...

    View Slide

  7. What we just did?

    View Slide

  8. What we just did?
    We solved logical and complex* math puzzles in a fraction of time

    View Slide

  9. Think about, How we
    solved them?

    View Slide

  10. Think about, How we
    solved them?
    We had inputs
    We also had outputs

    View Slide

  11. Think about, How we
    solved them?
    We created Rules and Patterns in our brains!!

    View Slide

  12. Can machines create rules
    on their own?

    View Slide

  13. Can machines create rules
    on their own?
    No, if it’s Classical Programming...

    View Slide

  14. Can machines create rules
    on their own?
    YES, if it’s Machine Learning!!!

    View Slide

  15. Classical Programming vs Machine Learning
    Classical
    Programming
    Machine
    Learning
    Rules
    Rules
    Data
    Data
    Answers
    Answers

    View Slide

  16. ML Use Cases

    View Slide

  17. Why so little ML Apps out there?
    ● Building and Scaling ML infrastructure is hard
    ● Operating production ML system is time consuming and
    Expensive

    View Slide

  18. What if, you can get
    ● Fully managed service
    ● Training using custom tensorflow graph for any ML use cases
    ● Training at scale to shorten Dev Cycle
    ● Automatically maximize predictive accuracy with HyperTune
    ● Integrated Datalab experience

    View Slide

  19. What if, you can get
    ● Fully managed service
    ● Taring using custom tensorflow graph for any ML use cases
    ● Training at scale to shorten Dev Cycle
    ● Automatically maximize predictive accuracy with HyperTune
    ● Integrated Datalab experience
    At a single place!!!

    View Slide

  20. What if, you can get
    ● Fully managed service
    ● Taring using custom tensorflow graph for any ML use cases
    ● Training at scale to shorten Dev Cycle
    ● Automatically maximize predictive accuracy with HyperTune
    ● Integrated Datalab experience
    At a single place!!!

    View Slide

  21. ML on Cloud Platform

    View Slide

  22. ML on Cloud Platform

    View Slide

  23. ML on Cloud Platform

    View Slide

  24. ML on Cloud Platform

    View Slide

  25. View Slide

  26. ML on Cloud Platform
    DIY

    View Slide

  27. Machine Learning
    as an API
    Access pre-trained models with a single REST API request

    View Slide

  28. Available Pre-trained APIs

    View Slide

  29. Available Pre-trained APIs

    View Slide

  30. Available Pre-trained APIs

    View Slide

  31. View Slide

  32. Let’s identify series characters!

    View Slide

  33. Let’s try the Vision API!

    View Slide

  34. What if you want to train these
    APIs on custom data?

    View Slide

  35. View Slide

  36. Cloud AutoML
    Train custom models without writing a single line of code

    View Slide

  37. The Aha! moment

    View Slide

  38. How it works?

    View Slide

  39. जीसीपी ही तसरा बाप हे, अहम् ब्रह्माि म!

    View Slide

  40. View Slide

  41. What if you want to
    train/deploy/scale your Keras based
    ML model on GCP?
    Custom task having custom model and data

    View Slide

  42. What if your model has
    multiple inputs text and image?
    Can we get predictions for such cases using AutoML?

    View Slide

  43. Cloud ML Engine
    Build, Train, and Serve custom models with your own data

    View Slide

  44. Ways to create custom models on GCP

    View Slide

  45. Some of the GCP offerings

    View Slide

  46. Cloud ML Engine: IaaS

    View Slide

  47. Where ML Engine fits in ML workflow

    View Slide

  48. Components of AI Platform
    ● Training service
    ● Prediction service
    ● Notebooks
    ● Data labeling service (beta)
    ○ Submit a request to label your video, image, or text data with some instructions
    ● Deep learning VM image
    ● Tools to interact with AI Platform
    ○ Google Cloud Console
    ■ Stackdriver Logging
    ■ Stackdriver Monitoring
    ○ REST API

    View Slide

  49. Design-Develop-Deploy

    View Slide

  50. 3 things
    from this session...

    View Slide

  51. ML APIs

    View Slide

  52. AutoML

    View Slide

  53. Cloud ML Engine

    View Slide

  54. Learn more...

    View Slide

  55. Questions?
    Comments?
    Suggestions?
    Machine Learning on GCP: Design-Develop-Deploy
    by @CharmiChokshi

    View Slide

  56. Thank you!
    Happy Learning :)
    Machine Learning on GCP: Design-Develop-Deploy
    by @CharmiChokshi

    View Slide