SlideShare a Scribd company logo
AWS & GOOGLE MACHINE LEARNING SERVICES
11.10.2017
Max Pagels, Machine Learning Specialist
@maxpagels, linkedin.com/in/maxpagels/
ABOUT ME
• BSc, MSc in Computer Science (University of Helsinki)
• Currently doing applied machine learning at SC5, a
consultancy based in Helsinki
• Former CS researcher
• Current favourite ML algorithm: LSTM neural networks
• Favourite programming languages: JavaScript for full-stack,
Python for ML
• Other hats I wear: full-stack developer, technical interviewer
AGENDA
Part 1: Overview of AWS & Google machine learning services
怜 怜 怜
Part 2: Classification demo using Google ML Engine and AWS ML
怜 怜 怜
Part 3 (time permitting): Free-form Q&A
IF YOU HAVE ANY QUESTIONS, AT ANY TIME, DO ASK!
MACHINE LEARNING
MACHINE LEARNING LEARNS FROM
DATA TO SOLVE COMPLEX TASKS
In contrast to traditional programming, machine learning
learns from data and automatically produces a program to
solve a task.
That makes it suitable for tasks that are impossible or
infeasible to code by hand, as well as automation of things
that are tedious but (until now) required human
supervision. ML is the foundation of modern artificial
intelligence.
AWS Machine Learning & Google Cloud Machine Learning
TRADITIONAL PROGRAMMING
Input → Algorithm → Output
MACHINE LEARNING
Input & output → Learning algorithm → Program
THERE ARE 3 MAIN TYPES OF MACHINE
LEARNING
SUPERVISED LEARNING
Learn from labelled data to build
a model for predicting a number
(regression) or a a discrete class
(classification) on new data
UNSUPERVISED LEARNING
Find structure in unlabelled data
to provide insights
REINFORCEMENT LEARNING
Take actions in the world, receive
rewards, and learn to maximise
reward over time
MACHINE LEARNING IS RESOURCE-
INTENSIVE
ML models learn from data using numerical
optimisation and linear algebra. It’s not uncommon
for each pass over training data to require
thousands or even millions of mathematical
operations. Inference (predicting/classifying new
examples) is also expensive.
THE CLOUD OFFERS CPU/GPU COMPUTE
ON-DEMAND
In addition to infrastructure-as-a-service, the big
cloud vendors (Azure, Google, AWS) also offer a
number of managed and hybrid ML & AI solutions.
LET’S TAKE A CLOSER LOOK AT THE
SERVICES PROVIDED BY GOOGLE AND
AMAZON (AWS)
GOOGLE CLOUD MACHINE LEARNING
From their website: ā€œGoogle Cloud's AI provides modern machine learning
services, with pre-trained models and a service to generate your own tailored
models. Our neural net-based ML service has better training performance and
increased accuracy compared to other large scale deep learning systems. Our
services are fast, scalable and easy to use. Major Google applications use Cloud
machine learning, including Photos (image search), the Google app (voice search),
Translate, and Inbox (Smart Reply). Our platform is now available as a cloud
service to bring unmatched scale and speed to your business applications.ā€
BREAKDOWN OF GOOGLE AI SERVICES
FULLY MANAGED APIS
• Cloud Jobs: machine learning-powered
job search engine
• Cloud Video Intelligence: extract
metadata, identify key nouns, and
automatically annotate the content of
videos using a REST API
• Cloud Vision: image classification, object
recognition and OCR as-a-service
• Cloud Speech: audio-to-text
• Natural Language: extract information
about people, places, events etc.
Sentiment analysis supported
• Cloud Translation: language translation Ć”
la Google Translate
HYBRID/BYO
• Machine Learning Engine: general-
purpose machine learning training and
inference engine
• Implement your own learning
algorithms in TensorFlow, provide
training data, train in the cloud without
worrying about servers
• Deploy trained models in the cloud for
a scalable server less prediction API
• Can also do training and/or inference
on your local machine
AWS MACHINE LEARNING SERVICES
From their website: ā€œWithin AWS, we’re focused on bringing that knowledge and
capability to you through three layers of the AI stack: Frameworks and
InfrastructureĀ with tools like Apache MXNet and TensorFlow,Ā API-driven
ServicesĀ to quickly add intelligence to applications, andĀ Machine Learning
Platforms for data scientists.ā€
BREAKDOWN OF AWS AI SERVICES
FULLY MANAGED APIS
• Amazon Lex: natural language
understanding and speech recognition,
powered by the same AIs used in Alexa
• Amazon Polly: text-to-speech as-a-
service
• Amazon Rekognition: ready-made image
recognition, object recognition, and OCR
FULLY MANAGED SERVICES
• Amazon Machine Learning: linear and
logistic regression as-a-service
• Provide data, choose learning
algorithm, train in the cloud
• Deploy a trained model as a
prediction API in the cloud
BYO/PLATFORM SERVICES
• Amazon EMR: Managed Hadoop/Spark
environment, implement your
algorithms/training/inference yourself
• Amazon Deep Learning AMIs: spin up
instances on EC2 preinstalled with
TensorFlow, MXnet, Theano, Caffe, CNTK,
Torch etc. and handle the rest yourself
• Amazon EC2: spin up instances with the
CPU/GPU power you require and install
whatever you like
A NOTE ON PRICING
Cloud services are typically pay-as-you-go/pay for what you use. For
machine learning, that usually means you pay for time/resources needed to
train, and time needed to do predictions. Unless you use a service that
explicitly spins up hardware and keeps it running, you typically don’t pay
anything if you aren’t doing training/inference.
PRICING EXAMPLE (CLOUD INFRASTRUCTURE)
PRICING EXAMPLE (CLOUD INFRASTRUCTURE)
Example: on AWS EC2, a p2.8xlarge instance has:
• 32 vCPUs
• 488 GiB RAM
• 8 NVIDIA K80 GPUs, 2,496 PPCs and 12GiB of
GPU memory per GPU
PRICING EXAMPLE (CLOUD INFRASTRUCTURE)
Cost of buying one K80 yourself: 5,000 €
Cost of buying the equivalent hardware yourself: 50,000 €
Cost of running the instance in AWS: about 8 € per hour
50,000 € equals 260 consecutive days of p2.8xlarge use
QUESTIONS SO FAR?
MULTI-CLASS CLASSIFICATION USING GOOGLE ML
ENGINE & AWS MACHINE LEARNING
THE IRIS DATASET
There are lots of freely available ML datasets online (for
example on Kaggle). One of them is the legendary Iris flower
dataset.
It includes three iris species with 50 samples each as well as
some properties (features) about each flower: sepal length,
sepal width, petal length & petal width (in cm).
With Google ML engine and AWS Machine learning, we are
going to train an ML model on the iris data to build a
classifier that can correctly classify new examples as one of
three iris species (classes).
LEARNING ALGORITHM: LOGISTIC
REGRESSION
Logistic regression is a simple learning algorithm. It’s similar
to linear regression, but meant for classification problems.
LOGISTIC REGRESSION OVERVIEW
1. Assume a linear relationship between features:
L = w₁ * sepal_width + wā‚‚ * sepal_length + wā‚ƒ * petal_width + wā‚„
* petal_length
2.Use a sigmoid function to convert the result to a probability of
belonging to a class:
H(L) = sigmoid(L) = 1 / (1 + e^(-L))
3.Build 1) & 2) for each possible class
4.Iterate over our dataset, construct H(L) for each example, check how
far we were from the correct class (we have the correct answers in our
labelled dataset)
5.Adjust weights w₁, wā‚‚, wā‚ƒ and wā‚„ so that, on average, we get things
less wrong next time (note: use partial derivatives)
6.Iterate 4)-5) until we achieve good accuracy (i.e. classify as many
examples correctly as possible)
7. Stop iterating when accuracy is ā€œgood enoughā€ or after some
predetermined number of iterations
REMEMBER: G-I-G-O
GIGO stands for ā€œGarbage in, garbage outā€. Without quality,
cleaned source data machine learning won’t work well.
Some estimates say that feature engineering & data cleaning
account for 80% of data scentists’ work
WALKTHROUGH: AWS MACHINE LEARNING
WALKTHROUGH: GOOGLE CLOUD ML ENGINE
Google Cloud Machine Learning Engine AWS Machine Learning
Service type Hybrid Fully managed
Supported algorithms Linear and non-linear learners (DNNs, linear &
logistic regression, Bayesian learners etc.)
Only linear learners (linear & logistic
regression)
Algorithm implementation BYO: Build using Tensorflow (low-level API or
Estimators) or Keras (tf.contrib.keras)
Pre-defined (linear & logistic multi-class
regression)
Accepted data sources Google Cloud Storage, BigTable & other
Google Cloud platform storage services
S3 (CSV-formatted data), RedShift
Built-in data transformation tools Full control (TensorFlow functionality +
packaging of Python modules as dependencies)
Limited, using ā€œRecipesā€ (editable in the
console UI)
Model training In the cloud or locally In the cloud
GPU support for training Yes No?
Hyperparameter tuning Full control + automatic tuning Limited manual tuning (regularisation, epochs)
Cross-validation Yes, configurable Yes (configurable train/test sets but no K-fold)
Model versioning Explicit Implicit
Underlying computation engine TensorFlow AWS EMR (Spark MLlib?)
Real-time predictions Yes, using Cloud Engine Prediction API Yes (built-in)
Batch predictions Yes, using Cloud Engine Prediction API Yes (built-in)
Monitoring Yes (Training jobs console, TensorBoard) Yes (CloudWatch and AWS ML UI)
WHAT WE SAW WAS TWO SIMPLE DEMOS…
BUT THE POSSIBILITIES ARE ENDLESS
THANK YOU!
QUESTIONS?
Ad

More Related Content

What's hot (20)

Advanced MLflow: Multi-Step Workflows, Hyperparameter Tuning and Integrating ...
Advanced MLflow: Multi-Step Workflows, Hyperparameter Tuning and Integrating ...Advanced MLflow: Multi-Step Workflows, Hyperparameter Tuning and Integrating ...
Advanced MLflow: Multi-Step Workflows, Hyperparameter Tuning and Integrating ...
Databricks
Ā 
Nexxworks bootcamp ML6 (27/09/2017)
Nexxworks bootcamp ML6 (27/09/2017)Nexxworks bootcamp ML6 (27/09/2017)
Nexxworks bootcamp ML6 (27/09/2017)
Karel Dumon
Ā 
Azure Machine Learning
Azure Machine LearningAzure Machine Learning
Azure Machine Learning
Dmitry Petukhov
Ā 
CI/CD for Machine Learning with Daniel Kobran
CI/CD for Machine Learning with Daniel KobranCI/CD for Machine Learning with Daniel Kobran
CI/CD for Machine Learning with Daniel Kobran
Databricks
Ā 
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning InfrastructureML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
Fei Chen
Ā 
Google Cloud Platform for Data Science teams
Google Cloud Platform for Data Science teamsGoogle Cloud Platform for Data Science teams
Google Cloud Platform for Data Science teams
Barton Rhodes
Ā 
Cloud Native Data Pipelines
Cloud Native Data PipelinesCloud Native Data Pipelines
Cloud Native Data Pipelines
Bill Liu
Ā 
Deep Learning on Apache Spark
Deep Learning on Apache SparkDeep Learning on Apache Spark
Deep Learning on Apache Spark
Dash Desai
Ā 
Serverless Data Architecture at scale on Google Cloud Platform
Serverless Data Architecture at scale on Google Cloud PlatformServerless Data Architecture at scale on Google Cloud Platform
Serverless Data Architecture at scale on Google Cloud Platform
MeetupDataScienceRoma
Ā 
Metaflow: The ML Infrastructure at Netflix
Metaflow: The ML Infrastructure at NetflixMetaflow: The ML Infrastructure at Netflix
Metaflow: The ML Infrastructure at Netflix
Bill Liu
Ā 
Tensorflow London 13: Barbara Fusinska 'Hassle Free, Scalable, Machine Learni...
Tensorflow London 13: Barbara Fusinska 'Hassle Free, Scalable, Machine Learni...Tensorflow London 13: Barbara Fusinska 'Hassle Free, Scalable, Machine Learni...
Tensorflow London 13: Barbara Fusinska 'Hassle Free, Scalable, Machine Learni...
Seldon
Ā 
Microsoft Machine Learning Server. Architecture View
Microsoft Machine Learning Server. Architecture ViewMicrosoft Machine Learning Server. Architecture View
Microsoft Machine Learning Server. Architecture View
Dmitry Petukhov
Ā 
Distributed Deep Learning on Spark
Distributed Deep Learning on SparkDistributed Deep Learning on Spark
Distributed Deep Learning on Spark
Mathieu Dumoulin
Ā 
A Microservices Framework for Real-Time Model Scoring Using Structured Stream...
A Microservices Framework for Real-Time Model Scoring Using Structured Stream...A Microservices Framework for Real-Time Model Scoring Using Structured Stream...
A Microservices Framework for Real-Time Model Scoring Using Structured Stream...
Databricks
Ā 
Sundar Ranganathan, NetApp + Vinod Iyengar, H2O.ai - Driverless AI integratio...
Sundar Ranganathan, NetApp + Vinod Iyengar, H2O.ai - Driverless AI integratio...Sundar Ranganathan, NetApp + Vinod Iyengar, H2O.ai - Driverless AI integratio...
Sundar Ranganathan, NetApp + Vinod Iyengar, H2O.ai - Driverless AI integratio...
Sri Ambati
Ā 
Machine Learning Interpretability - Mateusz Dymczyk - H2O AI World London 2018
Machine Learning Interpretability - Mateusz Dymczyk - H2O AI World London 2018Machine Learning Interpretability - Mateusz Dymczyk - H2O AI World London 2018
Machine Learning Interpretability - Mateusz Dymczyk - H2O AI World London 2018
Sri Ambati
Ā 
ML6 talk at Nexxworks Bootcamp
ML6 talk at Nexxworks BootcampML6 talk at Nexxworks Bootcamp
ML6 talk at Nexxworks Bootcamp
Karel Dumon
Ā 
Scalable Machine Learning using R and Azure HDInsight - Parashar
Scalable Machine Learning using R and Azure HDInsight - ParasharScalable Machine Learning using R and Azure HDInsight - Parashar
Scalable Machine Learning using R and Azure HDInsight - Parashar
Parashar Shah
Ā 
Scaling machine learning as a service at Uber — Li Erran Li at #papis2016
Scaling machine learning as a service at Uber — Li Erran Li at #papis2016Scaling machine learning as a service at Uber — Li Erran Li at #papis2016
Scaling machine learning as a service at Uber — Li Erran Li at #papis2016
PAPIs.io
Ā 
Machine Learning and Hadoop
Machine Learning and HadoopMachine Learning and Hadoop
Machine Learning and Hadoop
Josh Patterson
Ā 
Advanced MLflow: Multi-Step Workflows, Hyperparameter Tuning and Integrating ...
Advanced MLflow: Multi-Step Workflows, Hyperparameter Tuning and Integrating ...Advanced MLflow: Multi-Step Workflows, Hyperparameter Tuning and Integrating ...
Advanced MLflow: Multi-Step Workflows, Hyperparameter Tuning and Integrating ...
Databricks
Ā 
Nexxworks bootcamp ML6 (27/09/2017)
Nexxworks bootcamp ML6 (27/09/2017)Nexxworks bootcamp ML6 (27/09/2017)
Nexxworks bootcamp ML6 (27/09/2017)
Karel Dumon
Ā 
Azure Machine Learning
Azure Machine LearningAzure Machine Learning
Azure Machine Learning
Dmitry Petukhov
Ā 
CI/CD for Machine Learning with Daniel Kobran
CI/CD for Machine Learning with Daniel KobranCI/CD for Machine Learning with Daniel Kobran
CI/CD for Machine Learning with Daniel Kobran
Databricks
Ā 
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning InfrastructureML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
ML Platform Q1 Meetup: Airbnb's End-to-End Machine Learning Infrastructure
Fei Chen
Ā 
Google Cloud Platform for Data Science teams
Google Cloud Platform for Data Science teamsGoogle Cloud Platform for Data Science teams
Google Cloud Platform for Data Science teams
Barton Rhodes
Ā 
Cloud Native Data Pipelines
Cloud Native Data PipelinesCloud Native Data Pipelines
Cloud Native Data Pipelines
Bill Liu
Ā 
Deep Learning on Apache Spark
Deep Learning on Apache SparkDeep Learning on Apache Spark
Deep Learning on Apache Spark
Dash Desai
Ā 
Serverless Data Architecture at scale on Google Cloud Platform
Serverless Data Architecture at scale on Google Cloud PlatformServerless Data Architecture at scale on Google Cloud Platform
Serverless Data Architecture at scale on Google Cloud Platform
MeetupDataScienceRoma
Ā 
Metaflow: The ML Infrastructure at Netflix
Metaflow: The ML Infrastructure at NetflixMetaflow: The ML Infrastructure at Netflix
Metaflow: The ML Infrastructure at Netflix
Bill Liu
Ā 
Tensorflow London 13: Barbara Fusinska 'Hassle Free, Scalable, Machine Learni...
Tensorflow London 13: Barbara Fusinska 'Hassle Free, Scalable, Machine Learni...Tensorflow London 13: Barbara Fusinska 'Hassle Free, Scalable, Machine Learni...
Tensorflow London 13: Barbara Fusinska 'Hassle Free, Scalable, Machine Learni...
Seldon
Ā 
Microsoft Machine Learning Server. Architecture View
Microsoft Machine Learning Server. Architecture ViewMicrosoft Machine Learning Server. Architecture View
Microsoft Machine Learning Server. Architecture View
Dmitry Petukhov
Ā 
Distributed Deep Learning on Spark
Distributed Deep Learning on SparkDistributed Deep Learning on Spark
Distributed Deep Learning on Spark
Mathieu Dumoulin
Ā 
A Microservices Framework for Real-Time Model Scoring Using Structured Stream...
A Microservices Framework for Real-Time Model Scoring Using Structured Stream...A Microservices Framework for Real-Time Model Scoring Using Structured Stream...
A Microservices Framework for Real-Time Model Scoring Using Structured Stream...
Databricks
Ā 
Sundar Ranganathan, NetApp + Vinod Iyengar, H2O.ai - Driverless AI integratio...
Sundar Ranganathan, NetApp + Vinod Iyengar, H2O.ai - Driverless AI integratio...Sundar Ranganathan, NetApp + Vinod Iyengar, H2O.ai - Driverless AI integratio...
Sundar Ranganathan, NetApp + Vinod Iyengar, H2O.ai - Driverless AI integratio...
Sri Ambati
Ā 
Machine Learning Interpretability - Mateusz Dymczyk - H2O AI World London 2018
Machine Learning Interpretability - Mateusz Dymczyk - H2O AI World London 2018Machine Learning Interpretability - Mateusz Dymczyk - H2O AI World London 2018
Machine Learning Interpretability - Mateusz Dymczyk - H2O AI World London 2018
Sri Ambati
Ā 
ML6 talk at Nexxworks Bootcamp
ML6 talk at Nexxworks BootcampML6 talk at Nexxworks Bootcamp
ML6 talk at Nexxworks Bootcamp
Karel Dumon
Ā 
Scalable Machine Learning using R and Azure HDInsight - Parashar
Scalable Machine Learning using R and Azure HDInsight - ParasharScalable Machine Learning using R and Azure HDInsight - Parashar
Scalable Machine Learning using R and Azure HDInsight - Parashar
Parashar Shah
Ā 
Scaling machine learning as a service at Uber — Li Erran Li at #papis2016
Scaling machine learning as a service at Uber — Li Erran Li at #papis2016Scaling machine learning as a service at Uber — Li Erran Li at #papis2016
Scaling machine learning as a service at Uber — Li Erran Li at #papis2016
PAPIs.io
Ā 
Machine Learning and Hadoop
Machine Learning and HadoopMachine Learning and Hadoop
Machine Learning and Hadoop
Josh Patterson
Ā 

Similar to AWS Machine Learning & Google Cloud Machine Learning (20)

Machine Learning on the Cloud with Apache MXNet
Machine Learning on the Cloud with Apache MXNetMachine Learning on the Cloud with Apache MXNet
Machine Learning on the Cloud with Apache MXNet
delagoya
Ā 
ģ—”ķ„°ķ”„ė¼ģ“ģ¦ˆė„¼ ģœ„ķ•œ ėØøģ‹ ėŸ¬ė‹ 그리고 AWS (ź¹€ģ¼ķ˜ø ģ†”ė£Øģ…˜ģ¦ˆ ģ•„ķ‚¤ķ…ķŠø, AWS) :: AWS Techforum 2018
ģ—”ķ„°ķ”„ė¼ģ“ģ¦ˆė„¼ ģœ„ķ•œ ėØøģ‹ ėŸ¬ė‹ 그리고 AWS (ź¹€ģ¼ķ˜ø ģ†”ė£Øģ…˜ģ¦ˆ ģ•„ķ‚¤ķ…ķŠø, AWS) :: AWS Techforum 2018ģ—”ķ„°ķ”„ė¼ģ“ģ¦ˆė„¼ ģœ„ķ•œ ėØøģ‹ ėŸ¬ė‹ 그리고 AWS (ź¹€ģ¼ķ˜ø ģ†”ė£Øģ…˜ģ¦ˆ ģ•„ķ‚¤ķ…ķŠø, AWS) :: AWS Techforum 2018
ģ—”ķ„°ķ”„ė¼ģ“ģ¦ˆė„¼ ģœ„ķ•œ ėØøģ‹ ėŸ¬ė‹ 그리고 AWS (ź¹€ģ¼ķ˜ø ģ†”ė£Øģ…˜ģ¦ˆ ģ•„ķ‚¤ķ…ķŠø, AWS) :: AWS Techforum 2018
Amazon Web Services Korea
Ā 
my ppt preentation.pptx
my ppt preentation.pptxmy ppt preentation.pptx
my ppt preentation.pptx
Saikiran447644
Ā 
Introduction to Machine learning and Deep Learning
Introduction to Machine learning and Deep LearningIntroduction to Machine learning and Deep Learning
Introduction to Machine learning and Deep Learning
Nishan Aryal
Ā 
2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure
Bruno Capuano
Ā 
Time series modeling workd AMLD 2018 Lausanne
Time series modeling workd AMLD 2018 LausanneTime series modeling workd AMLD 2018 Lausanne
Time series modeling workd AMLD 2018 Lausanne
Sunil Mallya
Ā 
Amazon Web Services (AWS) Presentation
Amazon Web Services (AWS) PresentationAmazon Web Services (AWS) Presentation
Amazon Web Services (AWS) Presentation
Sunil Jagani
Ā 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated ML
Mark Tabladillo
Ā 
Infrastructure Agnostic Machine Learning Workload Deployment
Infrastructure Agnostic Machine Learning Workload DeploymentInfrastructure Agnostic Machine Learning Workload Deployment
Infrastructure Agnostic Machine Learning Workload Deployment
Databricks
Ā 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
webscale
Ā 
Deep Dive into Apache MXNet on AWS
Deep Dive into Apache MXNet on AWSDeep Dive into Apache MXNet on AWS
Deep Dive into Apache MXNet on AWS
Kristana Kane
Ā 
"Fast Start to Building on AWS", Igor Ivaniuk
"Fast Start to Building on AWS", Igor Ivaniuk"Fast Start to Building on AWS", Igor Ivaniuk
"Fast Start to Building on AWS", Igor Ivaniuk
Fwdays
Ā 
AI LLM Inference and SageMaker Pipeline in AWS
AI LLM Inference and SageMaker Pipeline in AWSAI LLM Inference and SageMaker Pipeline in AWS
AI LLM Inference and SageMaker Pipeline in AWS
Emregndodu5
Ā 
Democratize ai with google cloud
Democratize ai with google cloudDemocratize ai with google cloud
Democratize ai with google cloud
Henrik Hammer Eliassen
Ā 
Google Cloud: Data Analysis and Machine Learningn Technologies
Google Cloud: Data Analysis and Machine Learningn Technologies Google Cloud: Data Analysis and Machine Learningn Technologies
Google Cloud: Data Analysis and Machine Learningn Technologies
AndrƩs Leonardo Martinez Ortiz
Ā 
Introduction to the AWS Cloud from Digital Tuesday Meetup
Introduction to the AWS Cloud from Digital Tuesday MeetupIntroduction to the AWS Cloud from Digital Tuesday Meetup
Introduction to the AWS Cloud from Digital Tuesday Meetup
Ian Massingham
Ā 
BigData- On - AWS Cloud -1
BigData- On - AWS Cloud -1BigData- On - AWS Cloud -1
BigData- On - AWS Cloud -1
Milind gunjan
Ā 
AWS re:Invent 2016 : announcement, technical demos and feedbacks
AWS re:Invent 2016 : announcement, technical demos and feedbacksAWS re:Invent 2016 : announcement, technical demos and feedbacks
AWS re:Invent 2016 : announcement, technical demos and feedbacks
Emmanuel Quentin
Ā 
Designing Artificial Intelligence
Designing Artificial IntelligenceDesigning Artificial Intelligence
Designing Artificial Intelligence
David Chou
Ā 
Machine Learning Model as API with AWS Serverless- Loves Cloud
Machine Learning Model as API with AWS Serverless- Loves CloudMachine Learning Model as API with AWS Serverless- Loves Cloud
Machine Learning Model as API with AWS Serverless- Loves Cloud
Loves Cloud
Ā 
Machine Learning on the Cloud with Apache MXNet
Machine Learning on the Cloud with Apache MXNetMachine Learning on the Cloud with Apache MXNet
Machine Learning on the Cloud with Apache MXNet
delagoya
Ā 
ģ—”ķ„°ķ”„ė¼ģ“ģ¦ˆė„¼ ģœ„ķ•œ ėØøģ‹ ėŸ¬ė‹ 그리고 AWS (ź¹€ģ¼ķ˜ø ģ†”ė£Øģ…˜ģ¦ˆ ģ•„ķ‚¤ķ…ķŠø, AWS) :: AWS Techforum 2018
ģ—”ķ„°ķ”„ė¼ģ“ģ¦ˆė„¼ ģœ„ķ•œ ėØøģ‹ ėŸ¬ė‹ 그리고 AWS (ź¹€ģ¼ķ˜ø ģ†”ė£Øģ…˜ģ¦ˆ ģ•„ķ‚¤ķ…ķŠø, AWS) :: AWS Techforum 2018ģ—”ķ„°ķ”„ė¼ģ“ģ¦ˆė„¼ ģœ„ķ•œ ėØøģ‹ ėŸ¬ė‹ 그리고 AWS (ź¹€ģ¼ķ˜ø ģ†”ė£Øģ…˜ģ¦ˆ ģ•„ķ‚¤ķ…ķŠø, AWS) :: AWS Techforum 2018
ģ—”ķ„°ķ”„ė¼ģ“ģ¦ˆė„¼ ģœ„ķ•œ ėØøģ‹ ėŸ¬ė‹ 그리고 AWS (ź¹€ģ¼ķ˜ø ģ†”ė£Øģ…˜ģ¦ˆ ģ•„ķ‚¤ķ…ķŠø, AWS) :: AWS Techforum 2018
Amazon Web Services Korea
Ā 
my ppt preentation.pptx
my ppt preentation.pptxmy ppt preentation.pptx
my ppt preentation.pptx
Saikiran447644
Ā 
Introduction to Machine learning and Deep Learning
Introduction to Machine learning and Deep LearningIntroduction to Machine learning and Deep Learning
Introduction to Machine learning and Deep Learning
Nishan Aryal
Ā 
2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure2018 11 14 Artificial Intelligence and Machine Learning in Azure
2018 11 14 Artificial Intelligence and Machine Learning in Azure
Bruno Capuano
Ā 
Time series modeling workd AMLD 2018 Lausanne
Time series modeling workd AMLD 2018 LausanneTime series modeling workd AMLD 2018 Lausanne
Time series modeling workd AMLD 2018 Lausanne
Sunil Mallya
Ā 
Amazon Web Services (AWS) Presentation
Amazon Web Services (AWS) PresentationAmazon Web Services (AWS) Presentation
Amazon Web Services (AWS) Presentation
Sunil Jagani
Ā 
201908 Overview of Automated ML
201908 Overview of Automated ML201908 Overview of Automated ML
201908 Overview of Automated ML
Mark Tabladillo
Ā 
Infrastructure Agnostic Machine Learning Workload Deployment
Infrastructure Agnostic Machine Learning Workload DeploymentInfrastructure Agnostic Machine Learning Workload Deployment
Infrastructure Agnostic Machine Learning Workload Deployment
Databricks
Ā 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
webscale
Ā 
Deep Dive into Apache MXNet on AWS
Deep Dive into Apache MXNet on AWSDeep Dive into Apache MXNet on AWS
Deep Dive into Apache MXNet on AWS
Kristana Kane
Ā 
"Fast Start to Building on AWS", Igor Ivaniuk
"Fast Start to Building on AWS", Igor Ivaniuk"Fast Start to Building on AWS", Igor Ivaniuk
"Fast Start to Building on AWS", Igor Ivaniuk
Fwdays
Ā 
AI LLM Inference and SageMaker Pipeline in AWS
AI LLM Inference and SageMaker Pipeline in AWSAI LLM Inference and SageMaker Pipeline in AWS
AI LLM Inference and SageMaker Pipeline in AWS
Emregndodu5
Ā 
Democratize ai with google cloud
Democratize ai with google cloudDemocratize ai with google cloud
Democratize ai with google cloud
Henrik Hammer Eliassen
Ā 
Google Cloud: Data Analysis and Machine Learningn Technologies
Google Cloud: Data Analysis and Machine Learningn Technologies Google Cloud: Data Analysis and Machine Learningn Technologies
Google Cloud: Data Analysis and Machine Learningn Technologies
AndrƩs Leonardo Martinez Ortiz
Ā 
Introduction to the AWS Cloud from Digital Tuesday Meetup
Introduction to the AWS Cloud from Digital Tuesday MeetupIntroduction to the AWS Cloud from Digital Tuesday Meetup
Introduction to the AWS Cloud from Digital Tuesday Meetup
Ian Massingham
Ā 
BigData- On - AWS Cloud -1
BigData- On - AWS Cloud -1BigData- On - AWS Cloud -1
BigData- On - AWS Cloud -1
Milind gunjan
Ā 
AWS re:Invent 2016 : announcement, technical demos and feedbacks
AWS re:Invent 2016 : announcement, technical demos and feedbacksAWS re:Invent 2016 : announcement, technical demos and feedbacks
AWS re:Invent 2016 : announcement, technical demos and feedbacks
Emmanuel Quentin
Ā 
Designing Artificial Intelligence
Designing Artificial IntelligenceDesigning Artificial Intelligence
Designing Artificial Intelligence
David Chou
Ā 
Machine Learning Model as API with AWS Serverless- Loves Cloud
Machine Learning Model as API with AWS Serverless- Loves CloudMachine Learning Model as API with AWS Serverless- Loves Cloud
Machine Learning Model as API with AWS Serverless- Loves Cloud
Loves Cloud
Ā 
Ad

More from SC5.io (12)

Transfer learning with Custom Vision
Transfer learning with Custom VisionTransfer learning with Custom Vision
Transfer learning with Custom Vision
SC5.io
Ā 
Practical AI for Business: Bandit Algorithms
Practical AI for Business: Bandit AlgorithmsPractical AI for Business: Bandit Algorithms
Practical AI for Business: Bandit Algorithms
SC5.io
Ā 
Decision trees & random forests
Decision trees & random forestsDecision trees & random forests
Decision trees & random forests
SC5.io
Ā 
Bandit Algorithms
Bandit AlgorithmsBandit Algorithms
Bandit Algorithms
SC5.io
Ā 
Angular.js Primer in Aalto University
Angular.js Primer in Aalto UniversityAngular.js Primer in Aalto University
Angular.js Primer in Aalto University
SC5.io
Ā 
Miten design-muutosjohtaminen hyƶdyttƤƤ yrityksiƤ?
Miten design-muutosjohtaminen hyƶdyttƤƤ yrityksiƤ?Miten design-muutosjohtaminen hyƶdyttƤƤ yrityksiƤ?
Miten design-muutosjohtaminen hyƶdyttƤƤ yrityksiƤ?
SC5.io
Ā 
Securing the client side web
Securing the client side webSecuring the client side web
Securing the client side web
SC5.io
Ā 
Engineering HTML5 Applications for Better Performance
Engineering HTML5 Applications for Better PerformanceEngineering HTML5 Applications for Better Performance
Engineering HTML5 Applications for Better Performance
SC5.io
Ā 
2013 10-02-backbone-robots-aarhus
2013 10-02-backbone-robots-aarhus2013 10-02-backbone-robots-aarhus
2013 10-02-backbone-robots-aarhus
SC5.io
Ā 
2013 10-02-html5-performance-aarhus
2013 10-02-html5-performance-aarhus2013 10-02-html5-performance-aarhus
2013 10-02-html5-performance-aarhus
SC5.io
Ā 
2013 04-02-server-side-backbone
2013 04-02-server-side-backbone2013 04-02-server-side-backbone
2013 04-02-server-side-backbone
SC5.io
Ā 
Building single page applications
Building single page applicationsBuilding single page applications
Building single page applications
SC5.io
Ā 
Transfer learning with Custom Vision
Transfer learning with Custom VisionTransfer learning with Custom Vision
Transfer learning with Custom Vision
SC5.io
Ā 
Practical AI for Business: Bandit Algorithms
Practical AI for Business: Bandit AlgorithmsPractical AI for Business: Bandit Algorithms
Practical AI for Business: Bandit Algorithms
SC5.io
Ā 
Decision trees & random forests
Decision trees & random forestsDecision trees & random forests
Decision trees & random forests
SC5.io
Ā 
Bandit Algorithms
Bandit AlgorithmsBandit Algorithms
Bandit Algorithms
SC5.io
Ā 
Angular.js Primer in Aalto University
Angular.js Primer in Aalto UniversityAngular.js Primer in Aalto University
Angular.js Primer in Aalto University
SC5.io
Ā 
Miten design-muutosjohtaminen hyƶdyttƤƤ yrityksiƤ?
Miten design-muutosjohtaminen hyƶdyttƤƤ yrityksiƤ?Miten design-muutosjohtaminen hyƶdyttƤƤ yrityksiƤ?
Miten design-muutosjohtaminen hyƶdyttƤƤ yrityksiƤ?
SC5.io
Ā 
Securing the client side web
Securing the client side webSecuring the client side web
Securing the client side web
SC5.io
Ā 
Engineering HTML5 Applications for Better Performance
Engineering HTML5 Applications for Better PerformanceEngineering HTML5 Applications for Better Performance
Engineering HTML5 Applications for Better Performance
SC5.io
Ā 
2013 10-02-backbone-robots-aarhus
2013 10-02-backbone-robots-aarhus2013 10-02-backbone-robots-aarhus
2013 10-02-backbone-robots-aarhus
SC5.io
Ā 
2013 10-02-html5-performance-aarhus
2013 10-02-html5-performance-aarhus2013 10-02-html5-performance-aarhus
2013 10-02-html5-performance-aarhus
SC5.io
Ā 
2013 04-02-server-side-backbone
2013 04-02-server-side-backbone2013 04-02-server-side-backbone
2013 04-02-server-side-backbone
SC5.io
Ā 
Building single page applications
Building single page applicationsBuilding single page applications
Building single page applications
SC5.io
Ā 
Ad

Recently uploaded (20)

DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
Ā 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
Ā 
Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?
Eric Torreborre
Ā 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
Ā 
Developing System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptxDeveloping System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptx
wondimagegndesta
Ā 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
Ā 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
Ā 
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptxTop 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
mkubeusa
Ā 
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
SOFTTECHHUB
Ā 
Agentic Automation - Delhi UiPath Community Meetup
Agentic Automation - Delhi UiPath Community MeetupAgentic Automation - Delhi UiPath Community Meetup
Agentic Automation - Delhi UiPath Community Meetup
Manoj Batra (1600 + Connections)
Ā 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
Ā 
Building the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdfBuilding the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdf
Cheryl Hung
Ā 
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Mike Mingos
Ā 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
Ā 
AsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API DesignAsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API Design
leonid54
Ā 
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
Ivano Malavolta
Ā 
Bepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firmBepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firm
Benard76
Ā 
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
João Esperancinha
Ā 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
Ā 
Dark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanizationDark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanization
Jakub Å imek
Ā 
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptxDevOpsDays SLC - Platform Engineers are Product Managers.pptx
DevOpsDays SLC - Platform Engineers are Product Managers.pptx
Justin Reock
Ā 
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Everything You Need to Know About Agentforce? (Put AI Agents to Work)
Cyntexa
Ā 
Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?Shoehorning dependency injection into a FP language, what does it take?
Shoehorning dependency injection into a FP language, what does it take?
Eric Torreborre
Ā 
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier VroomAI x Accessibility UXPA by Stew Smith and Olivier Vroom
AI x Accessibility UXPA by Stew Smith and Olivier Vroom
UXPA Boston
Ā 
Developing System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptxDeveloping System Infrastructure Design Plan.pptx
Developing System Infrastructure Design Plan.pptx
wondimagegndesta
Ā 
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Limecraft Webinar - 2025.3 release, featuring Content Delivery, Graphic Conte...
Maarten Verwaest
Ā 
Cybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and MitigationCybersecurity Threat Vectors and Mitigation
Cybersecurity Threat Vectors and Mitigation
VICTOR MAESTRE RAMIREZ
Ā 
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptxTop 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
Top 5 Benefits of Using Molybdenum Rods in Industrial Applications.pptx
mkubeusa
Ā 
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
SOFTTECHHUB
Ā 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
Ā 
Building the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdfBuilding the Customer Identity Community, Together.pdf
Building the Customer Identity Community, Together.pdf
Cheryl Hung
Ā 
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Optima Cyber - Maritime Cyber Security - MSSP Services - Manolis Sfakianakis ...
Mike Mingos
Ā 
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025Zilliz Cloud Monthly Technical Review: May 2025
Zilliz Cloud Monthly Technical Review: May 2025
Zilliz
Ā 
AsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API DesignAsyncAPI v3 : Streamlining Event-Driven API Design
AsyncAPI v3 : Streamlining Event-Driven API Design
leonid54
Ā 
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
On-Device or Remote? On the Energy Efficiency of Fetching LLM-Generated Conte...
Ivano Malavolta
Ā 
Bepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firmBepents tech services - a premier cybersecurity consulting firm
Bepents tech services - a premier cybersecurity consulting firm
Benard76
Ā 
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
João Esperancinha
Ā 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
Ā 
Dark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanizationDark Dynamism: drones, dark factories and deurbanization
Dark Dynamism: drones, dark factories and deurbanization
Jakub Å imek
Ā 

AWS Machine Learning & Google Cloud Machine Learning

  • 1. AWS & GOOGLE MACHINE LEARNING SERVICES 11.10.2017 Max Pagels, Machine Learning Specialist @maxpagels, linkedin.com/in/maxpagels/
  • 2. ABOUT ME • BSc, MSc in Computer Science (University of Helsinki) • Currently doing applied machine learning at SC5, a consultancy based in Helsinki • Former CS researcher • Current favourite ML algorithm: LSTM neural networks • Favourite programming languages: JavaScript for full-stack, Python for ML • Other hats I wear: full-stack developer, technical interviewer
  • 3. AGENDA Part 1: Overview of AWS & Google machine learning services 怜 怜 怜 Part 2: Classification demo using Google ML Engine and AWS ML 怜 怜 怜 Part 3 (time permitting): Free-form Q&A
  • 4. IF YOU HAVE ANY QUESTIONS, AT ANY TIME, DO ASK!
  • 6. MACHINE LEARNING LEARNS FROM DATA TO SOLVE COMPLEX TASKS In contrast to traditional programming, machine learning learns from data and automatically produces a program to solve a task. That makes it suitable for tasks that are impossible or infeasible to code by hand, as well as automation of things that are tedious but (until now) required human supervision. ML is the foundation of modern artificial intelligence.
  • 8. TRADITIONAL PROGRAMMING Input → Algorithm → Output
  • 9. MACHINE LEARNING Input & output → Learning algorithm → Program
  • 10. THERE ARE 3 MAIN TYPES OF MACHINE LEARNING SUPERVISED LEARNING Learn from labelled data to build a model for predicting a number (regression) or a a discrete class (classification) on new data UNSUPERVISED LEARNING Find structure in unlabelled data to provide insights REINFORCEMENT LEARNING Take actions in the world, receive rewards, and learn to maximise reward over time
  • 11. MACHINE LEARNING IS RESOURCE- INTENSIVE ML models learn from data using numerical optimisation and linear algebra. It’s not uncommon for each pass over training data to require thousands or even millions of mathematical operations. Inference (predicting/classifying new examples) is also expensive.
  • 12. THE CLOUD OFFERS CPU/GPU COMPUTE ON-DEMAND In addition to infrastructure-as-a-service, the big cloud vendors (Azure, Google, AWS) also offer a number of managed and hybrid ML & AI solutions.
  • 13. LET’S TAKE A CLOSER LOOK AT THE SERVICES PROVIDED BY GOOGLE AND AMAZON (AWS)
  • 15. From their website: ā€œGoogle Cloud's AI provides modern machine learning services, with pre-trained models and a service to generate your own tailored models. Our neural net-based ML service has better training performance and increased accuracy compared to other large scale deep learning systems. Our services are fast, scalable and easy to use. Major Google applications use Cloud machine learning, including Photos (image search), the Google app (voice search), Translate, and Inbox (Smart Reply). Our platform is now available as a cloud service to bring unmatched scale and speed to your business applications.ā€
  • 16. BREAKDOWN OF GOOGLE AI SERVICES FULLY MANAGED APIS • Cloud Jobs: machine learning-powered job search engine • Cloud Video Intelligence: extract metadata, identify key nouns, and automatically annotate the content of videos using a REST API • Cloud Vision: image classification, object recognition and OCR as-a-service • Cloud Speech: audio-to-text • Natural Language: extract information about people, places, events etc. Sentiment analysis supported • Cloud Translation: language translation Ć” la Google Translate HYBRID/BYO • Machine Learning Engine: general- purpose machine learning training and inference engine • Implement your own learning algorithms in TensorFlow, provide training data, train in the cloud without worrying about servers • Deploy trained models in the cloud for a scalable server less prediction API • Can also do training and/or inference on your local machine
  • 18. From their website: ā€œWithin AWS, we’re focused on bringing that knowledge and capability to you through three layers of the AI stack: Frameworks and InfrastructureĀ with tools like Apache MXNet and TensorFlow,Ā API-driven ServicesĀ to quickly add intelligence to applications, andĀ Machine Learning Platforms for data scientists.ā€
  • 19. BREAKDOWN OF AWS AI SERVICES FULLY MANAGED APIS • Amazon Lex: natural language understanding and speech recognition, powered by the same AIs used in Alexa • Amazon Polly: text-to-speech as-a- service • Amazon Rekognition: ready-made image recognition, object recognition, and OCR FULLY MANAGED SERVICES • Amazon Machine Learning: linear and logistic regression as-a-service • Provide data, choose learning algorithm, train in the cloud • Deploy a trained model as a prediction API in the cloud BYO/PLATFORM SERVICES • Amazon EMR: Managed Hadoop/Spark environment, implement your algorithms/training/inference yourself • Amazon Deep Learning AMIs: spin up instances on EC2 preinstalled with TensorFlow, MXnet, Theano, Caffe, CNTK, Torch etc. and handle the rest yourself • Amazon EC2: spin up instances with the CPU/GPU power you require and install whatever you like
  • 20. A NOTE ON PRICING
  • 21. Cloud services are typically pay-as-you-go/pay for what you use. For machine learning, that usually means you pay for time/resources needed to train, and time needed to do predictions. Unless you use a service that explicitly spins up hardware and keeps it running, you typically don’t pay anything if you aren’t doing training/inference. PRICING EXAMPLE (CLOUD INFRASTRUCTURE)
  • 22. PRICING EXAMPLE (CLOUD INFRASTRUCTURE) Example: on AWS EC2, a p2.8xlarge instance has: • 32 vCPUs • 488 GiB RAM • 8 NVIDIA K80 GPUs, 2,496 PPCs and 12GiB of GPU memory per GPU
  • 23. PRICING EXAMPLE (CLOUD INFRASTRUCTURE) Cost of buying one K80 yourself: 5,000 € Cost of buying the equivalent hardware yourself: 50,000 € Cost of running the instance in AWS: about 8 € per hour 50,000 € equals 260 consecutive days of p2.8xlarge use
  • 25. MULTI-CLASS CLASSIFICATION USING GOOGLE ML ENGINE & AWS MACHINE LEARNING
  • 26. THE IRIS DATASET There are lots of freely available ML datasets online (for example on Kaggle). One of them is the legendary Iris flower dataset. It includes three iris species with 50 samples each as well as some properties (features) about each flower: sepal length, sepal width, petal length & petal width (in cm). With Google ML engine and AWS Machine learning, we are going to train an ML model on the iris data to build a classifier that can correctly classify new examples as one of three iris species (classes).
  • 27. LEARNING ALGORITHM: LOGISTIC REGRESSION Logistic regression is a simple learning algorithm. It’s similar to linear regression, but meant for classification problems.
  • 28. LOGISTIC REGRESSION OVERVIEW 1. Assume a linear relationship between features: L = w₁ * sepal_width + wā‚‚ * sepal_length + wā‚ƒ * petal_width + wā‚„ * petal_length 2.Use a sigmoid function to convert the result to a probability of belonging to a class: H(L) = sigmoid(L) = 1 / (1 + e^(-L)) 3.Build 1) & 2) for each possible class 4.Iterate over our dataset, construct H(L) for each example, check how far we were from the correct class (we have the correct answers in our labelled dataset) 5.Adjust weights w₁, wā‚‚, wā‚ƒ and wā‚„ so that, on average, we get things less wrong next time (note: use partial derivatives) 6.Iterate 4)-5) until we achieve good accuracy (i.e. classify as many examples correctly as possible) 7. Stop iterating when accuracy is ā€œgood enoughā€ or after some predetermined number of iterations
  • 29. REMEMBER: G-I-G-O GIGO stands for ā€œGarbage in, garbage outā€. Without quality, cleaned source data machine learning won’t work well. Some estimates say that feature engineering & data cleaning account for 80% of data scentists’ work
  • 32. Google Cloud Machine Learning Engine AWS Machine Learning Service type Hybrid Fully managed Supported algorithms Linear and non-linear learners (DNNs, linear & logistic regression, Bayesian learners etc.) Only linear learners (linear & logistic regression) Algorithm implementation BYO: Build using Tensorflow (low-level API or Estimators) or Keras (tf.contrib.keras) Pre-defined (linear & logistic multi-class regression) Accepted data sources Google Cloud Storage, BigTable & other Google Cloud platform storage services S3 (CSV-formatted data), RedShift Built-in data transformation tools Full control (TensorFlow functionality + packaging of Python modules as dependencies) Limited, using ā€œRecipesā€ (editable in the console UI) Model training In the cloud or locally In the cloud GPU support for training Yes No? Hyperparameter tuning Full control + automatic tuning Limited manual tuning (regularisation, epochs) Cross-validation Yes, configurable Yes (configurable train/test sets but no K-fold) Model versioning Explicit Implicit Underlying computation engine TensorFlow AWS EMR (Spark MLlib?) Real-time predictions Yes, using Cloud Engine Prediction API Yes (built-in) Batch predictions Yes, using Cloud Engine Prediction API Yes (built-in) Monitoring Yes (Training jobs console, TensorBoard) Yes (CloudWatch and AWS ML UI)
  • 33. WHAT WE SAW WAS TWO SIMPLE DEMOS…
  • 34. BUT THE POSSIBILITIES ARE ENDLESS
  ēæ»čÆ‘ļ¼š