SlideShare a Scribd company logo
MACHINE LEARNING
USING CLOUD SERVICES
Max Pagels, Data Science Specialist
max.pagels@sc5.io, @maxpagels
12.6.2016
A general overview
WHAT IS MACHINE LEARNING?
“… FIELD OF STUDY THAT GIVES COMPUTERS
THE ABILITY TO LEARN WITHOUT BEING
EXPLICITLY PROGRAMMED”
- Arthur Lee Samuel, 1959
ALGORITHMS THAT LEARN FROM DATA IN
ORDER TO FIND STRUCTURE, PROVIDE
INSIGHTS, CLASSIFY AND PREDICT
DATA > COMPUTER LEARNS A MODEL > MODEL USED TO SOLVE TASK
SUPERVISED
MACHINE
LEARNING
UNSUPERVISED
MACHINE
LEARNING
REINFORCEMENT
LEARNING
1. FETCH & PREPARE DATA
2. TRAIN MODELS
3. DEPLOY MODELS
MACHINE LEARNING, IN A NUTSHELL
HOW CAN CLOUD SERVICES HELP?
1. FETCHING & PREPARING DATA
90% of all time is spent on getting & cleaning data
TYPICAL PROBLEMS
• Data is stored in multiple DBs
• Data access is behind multiple systems
• Data is missing
• Data is in the incorrect format
• Data is only available in aggregated form
• Running queries takes a long time
SOLUTION: CLOUD DATA WAREHOUSING
• Data is stored in one logical, petabyte-scale DB
• Centralised user access management
• Usually much cheaper to run than in-house solutions
• Can save (and query) raw data
• Querying is typically much faster
2. TRAINING MODELS
Test, validate, rinse & repeat
Depending on the type of classifier and the problem at hand, training a model
can take ages on a normal laptop/desktop computer.
PROBLEM
SOLUTION: GPU(S)
SOLUTION: CLOUD-BASED COMPUTATION
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
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
3. DEPLOYING MODELS
Putting your machine learning models to good use
DEPLOYING MODELS
• ML models can take a long time to train, but the models themselves
usually don’t take much (disk/RAM) space
• Getting a prediction/result from an ML model typically doesn’t take
that much time, either (milliseconds)
• Building a REST API on top of your model allows other services to get
predictions on demand
• Use functions-as-a-service as your first choice
DEPLOYING MODELS
• ML models can take a long time to train, but the models themselves
usually don’t take much (disk/RAM) space
• Getting a prediction/result from an ML model typically doesn’t take
that much time, either (milliseconds)
• Building a REST API on top of your model allows other services to get
predictions on demand
• Use functions-as-a-service as your first choice
SERVERLESS + API GATEWAY = QUICK PREDICTION REST API
DON’T REINVENT THE WHEEL
Pre-made models and services may work well
SOME READY-MADE AI/ML SERVICES
IBM WATSON
• Natural language processing
• Language translation
• Sentiment analysis
• Speech-to-text
• Text-to-speech
• Personality insights
AWS AI
• AWS ML: linear/logistic
regression (classification & real-
number prediction)
• Amazon Lex: conversational
interfaces
• Amazon Rekognition: object
detection
• Amazon Polly: text-to-speech
LET’S END WITH AN EXAMPLE
Machine Learning Using Cloud Services
Machine Learning Using Cloud Services
Machine Learning Using Cloud Services
THANK YOU
Have a great evening!

More Related Content

PPTX
Machine Learning and the Cloud
PPTX
Introduction to Machine Learning
PPTX
MLOps.pptx
PPTX
Introduction to Machine Learning
PPTX
Machine learning session4(linear regression)
PPTX
introduction to data science
PDF
Intro to LLMs
PPTX
Data science
Machine Learning and the Cloud
Introduction to Machine Learning
MLOps.pptx
Introduction to Machine Learning
Machine learning session4(linear regression)
introduction to data science
Intro to LLMs
Data science

What's hot (20)

PDF
Ml ops intro session
PDF
Data science presentation
PPT
Machine learning
PPTX
Data science applications and usecases
PDF
An introduction to Machine Learning
PDF
The 7 steps of Machine Learning
PDF
Machine learning
PDF
The Future of Data Science
PDF
Using MLOps to Bring ML to Production/The Promise of MLOps
PPTX
Introduction to data science club
PPTX
Edge Artificial Intelligence in smart city development
PPT
Big Data
PPTX
Machine learning
PDF
Explainable AI (XAI)
PDF
Data science and Artificial Intelligence
PDF
GENERATIVE AI, THE FUTURE OF PRODUCTIVITY
PPTX
Machine Learning
PPTX
Introduction to data science
PDF
Bringing Artificial Intelligence Alive
PPTX
What is Deep Learning?
Ml ops intro session
Data science presentation
Machine learning
Data science applications and usecases
An introduction to Machine Learning
The 7 steps of Machine Learning
Machine learning
The Future of Data Science
Using MLOps to Bring ML to Production/The Promise of MLOps
Introduction to data science club
Edge Artificial Intelligence in smart city development
Big Data
Machine learning
Explainable AI (XAI)
Data science and Artificial Intelligence
GENERATIVE AI, THE FUTURE OF PRODUCTIVITY
Machine Learning
Introduction to data science
Bringing Artificial Intelligence Alive
What is Deep Learning?
Ad

Viewers also liked (10)

PPTX
Case studies in Games, Machine Learning in the Cloud,
PPTX
Pixels.camp - Machine Learning: Building Successful Products at Scale
PPT
OpenCL caffe IWOCL 2016 presentation final
PDF
Machine Learning Use Cases with Azure
PDF
Machine Learning and its Use Cases (dsth Meetup#3)
PPTX
Autonomous driving revolution- trends, challenges and machine learning 
PDF
Cloud and Machine Learning in real world business
PDF
Machine Learning in the Cloud: Building a Better Forecast with H20 & Salesforce
PDF
Cloud Machine Learning with Google Cloud Platform
PDF
Robust Large-Scale Machine Learning in the Cloud
Case studies in Games, Machine Learning in the Cloud,
Pixels.camp - Machine Learning: Building Successful Products at Scale
OpenCL caffe IWOCL 2016 presentation final
Machine Learning Use Cases with Azure
Machine Learning and its Use Cases (dsth Meetup#3)
Autonomous driving revolution- trends, challenges and machine learning 
Cloud and Machine Learning in real world business
Machine Learning in the Cloud: Building a Better Forecast with H20 & Salesforce
Cloud Machine Learning with Google Cloud Platform
Robust Large-Scale Machine Learning in the Cloud
Ad

Similar to Machine Learning Using Cloud Services (20)

PPTX
AzureML – zero to hero
PPTX
MACHINE LEARNING PRESENTATION (ARTIFICIAL INTELLIGENCE)
PDF
Machine learning systems for engineers
PDF
Building a modern data platform with scala, akka, apache beam
PDF
Alex mang patterns for scalability in microsoft azure application
PDF
Mtc learnings from isv & enterprise interaction
PPTX
Mtc learnings from isv & enterprise (dated - Dec -2014)
PDF
Breaking data
PDF
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
PPTX
Building Powerful and Intelligent Applications with Azure Machine Learning
PDF
SmartSim Workshop 2024 at OLCF and NERSC
PPTX
Datascience and Azure(v1.0)
PPTX
Collab365 Empower-Your-Applications-With-Azure-Machine-Learning
PPTX
Using AWS To Build A Scalable Machine Data Analytics Service
PDF
Walk through of azure machine learning studio new features
PPTX
Building Powerful and Intelligent Applications with Azure Machine Learning
PPTX
Data Science on Azure
PDF
Large scale topic modeling
PDF
Saturn - UCSD CNS Research Review
PDF
Saturn: Joint Optimization for Large-Model Deep Learning
AzureML – zero to hero
MACHINE LEARNING PRESENTATION (ARTIFICIAL INTELLIGENCE)
Machine learning systems for engineers
Building a modern data platform with scala, akka, apache beam
Alex mang patterns for scalability in microsoft azure application
Mtc learnings from isv & enterprise interaction
Mtc learnings from isv & enterprise (dated - Dec -2014)
Breaking data
AutoML - Heralding a New Era of Machine Learning - CASOUG Oct 2021
Building Powerful and Intelligent Applications with Azure Machine Learning
SmartSim Workshop 2024 at OLCF and NERSC
Datascience and Azure(v1.0)
Collab365 Empower-Your-Applications-With-Azure-Machine-Learning
Using AWS To Build A Scalable Machine Data Analytics Service
Walk through of azure machine learning studio new features
Building Powerful and Intelligent Applications with Azure Machine Learning
Data Science on Azure
Large scale topic modeling
Saturn - UCSD CNS Research Review
Saturn: Joint Optimization for Large-Model Deep Learning

More from SC5.io (13)

PDF
AWS Machine Learning & Google Cloud Machine Learning
PDF
Transfer learning with Custom Vision
PDF
Practical AI for Business: Bandit Algorithms
PDF
Decision trees & random forests
PDF
Bandit Algorithms
PDF
Angular.js Primer in Aalto University
PDF
Miten design-muutosjohtaminen hyödyttää yrityksiä?
PDF
Securing the client side web
PDF
Engineering HTML5 Applications for Better Performance
PDF
2013 10-02-backbone-robots-aarhus
PDF
2013 10-02-html5-performance-aarhus
PDF
2013 04-02-server-side-backbone
PPTX
Building single page applications
AWS Machine Learning & Google Cloud Machine Learning
Transfer learning with Custom Vision
Practical AI for Business: Bandit Algorithms
Decision trees & random forests
Bandit Algorithms
Angular.js Primer in Aalto University
Miten design-muutosjohtaminen hyödyttää yrityksiä?
Securing the client side web
Engineering HTML5 Applications for Better Performance
2013 10-02-backbone-robots-aarhus
2013 10-02-html5-performance-aarhus
2013 04-02-server-side-backbone
Building single page applications

Recently uploaded (20)

PPTX
Materi-Enum-and-Record-Data-Type (1).pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Transform Your Business with a Software ERP System
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPT
JAVA ppt tutorial basics to learn java programming
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Essential Infomation Tech presentation.pptx
PPTX
ai tools demonstartion for schools and inter college
PDF
System and Network Administration Chapter 2
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
PTS Company Brochure 2025 (1).pdf.......
DOCX
The Five Best AI Cover Tools in 2025.docx
Materi-Enum-and-Record-Data-Type (1).pptx
Upgrade and Innovation Strategies for SAP ERP Customers
How to Migrate SBCGlobal Email to Yahoo Easily
Transform Your Business with a Software ERP System
How to Choose the Right IT Partner for Your Business in Malaysia
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Understanding Forklifts - TECH EHS Solution
Softaken Excel to vCard Converter Software.pdf
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Operating system designcfffgfgggggggvggggggggg
Adobe Illustrator 28.6 Crack My Vision of Vector Design
JAVA ppt tutorial basics to learn java programming
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Essential Infomation Tech presentation.pptx
ai tools demonstartion for schools and inter college
System and Network Administration Chapter 2
VVF-Customer-Presentation2025-Ver1.9.pptx
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PTS Company Brochure 2025 (1).pdf.......
The Five Best AI Cover Tools in 2025.docx

Machine Learning Using Cloud Services

  • 1. MACHINE LEARNING USING CLOUD SERVICES Max Pagels, Data Science Specialist max.pagels@sc5.io, @maxpagels 12.6.2016 A general overview
  • 2. WHAT IS MACHINE LEARNING?
  • 3. “… FIELD OF STUDY THAT GIVES COMPUTERS THE ABILITY TO LEARN WITHOUT BEING EXPLICITLY PROGRAMMED” - Arthur Lee Samuel, 1959
  • 4. ALGORITHMS THAT LEARN FROM DATA IN ORDER TO FIND STRUCTURE, PROVIDE INSIGHTS, CLASSIFY AND PREDICT
  • 5. DATA > COMPUTER LEARNS A MODEL > MODEL USED TO SOLVE TASK
  • 7. 1. FETCH & PREPARE DATA 2. TRAIN MODELS 3. DEPLOY MODELS MACHINE LEARNING, IN A NUTSHELL
  • 8. HOW CAN CLOUD SERVICES HELP?
  • 9. 1. FETCHING & PREPARING DATA 90% of all time is spent on getting & cleaning data
  • 10. TYPICAL PROBLEMS • Data is stored in multiple DBs • Data access is behind multiple systems • Data is missing • Data is in the incorrect format • Data is only available in aggregated form • Running queries takes a long time
  • 11. SOLUTION: CLOUD DATA WAREHOUSING • Data is stored in one logical, petabyte-scale DB • Centralised user access management • Usually much cheaper to run than in-house solutions • Can save (and query) raw data • Querying is typically much faster
  • 12. 2. TRAINING MODELS Test, validate, rinse & repeat
  • 13. Depending on the type of classifier and the problem at hand, training a model can take ages on a normal laptop/desktop computer. PROBLEM
  • 15. SOLUTION: CLOUD-BASED COMPUTATION 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 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
  • 16. 3. DEPLOYING MODELS Putting your machine learning models to good use
  • 17. DEPLOYING MODELS • ML models can take a long time to train, but the models themselves usually don’t take much (disk/RAM) space • Getting a prediction/result from an ML model typically doesn’t take that much time, either (milliseconds) • Building a REST API on top of your model allows other services to get predictions on demand • Use functions-as-a-service as your first choice
  • 18. DEPLOYING MODELS • ML models can take a long time to train, but the models themselves usually don’t take much (disk/RAM) space • Getting a prediction/result from an ML model typically doesn’t take that much time, either (milliseconds) • Building a REST API on top of your model allows other services to get predictions on demand • Use functions-as-a-service as your first choice SERVERLESS + API GATEWAY = QUICK PREDICTION REST API
  • 19. DON’T REINVENT THE WHEEL Pre-made models and services may work well
  • 21. IBM WATSON • Natural language processing • Language translation • Sentiment analysis • Speech-to-text • Text-to-speech • Personality insights
  • 22. AWS AI • AWS ML: linear/logistic regression (classification & real- number prediction) • Amazon Lex: conversational interfaces • Amazon Rekognition: object detection • Amazon Polly: text-to-speech
  • 23. LET’S END WITH AN EXAMPLE
  • 27. THANK YOU Have a great evening!