SlideShare a Scribd company logo
1 of 32
Download to read offline
Serverless  Machine  Learning  
on  Amazon  Web  Services
clda.co/aws-­‐roma
10/15/2016 AWS  @  Rome
Applicazioni  di  Intelligenza  Ar:ficiale  con  AWS  Lambda
@alex_casalboni
clda.co/aws-­‐roma AWS  @  Rome
Web  Developer  (6+  years)
Sr.  SoFware  Engineer  @  Cloud  Academy
Master  in  Computer  Science
About  me
What  is  Machine  Learning?
Back  to  1959  (Arthur  Samuel)
How  computers  learn  from  Data
How  to  solve  decision  problems
AWS  @  Romeclda.co/aws-­‐roma
Machine  Learning  pipeline
Training Predic3on
batch real-­‐Cme
Feature  
extrac3on
batch
data informa:on
features ML  models
AWS  @  Romeclda.co/aws-­‐roma
?
Machine  Learning  taxonomy
Supervised    
Learning
Unsupervised    
Learning
AWS  @  Romeclda.co/aws-­‐roma
?
Machine  Learning  taxonomy
classifica9on
regression
170

cm
Supervised    
Learning
Unsupervised    
Learning
AWS  @  Romeclda.co/aws-­‐roma
Machine  Learning  taxonomy
Supervised    
Learning
Unsupervised    
Learning
AWS  @  Romeclda.co/aws-­‐roma
Machine  Learning  taxonomy
clustering
rule  extrac9on
group A group B
A, B C
Supervised    
Learning
Unsupervised    
Learning
AWS  @  Romeclda.co/aws-­‐roma
What  problems  can  ML  solve  for  you?
Supervised    
Learning
Unsupervised    
Learning
classifica'on
regression
clustering
rule  extrac'on
?
170

cm
gro gro
A, B C
AWS  @  Romeclda.co/aws-­‐roma
What  problems  can  ML  solve  for  you?
Supervised    
Learning
Unsupervised    
Learning
classifica'on
regression
clustering
rule  extrac'on
?
fraud  detec:on
170

cm
gro gro
A, B C
price  of  a  stock  over  :me
purchase  likelihood
user  segmenta:on
AWS  @  Romeclda.co/aws-­‐roma
Learning
Data
Machine
Cloud
Big
Science
Information
Internet
Statistics
Technology
Python Future
Mining Social
Deep
IOT
Algorithms
Management
Storage Petabytes
Parallel
Network
Privacy
Million
NoSQL
PaaS
SQL
Database
Exabytes
Billion
Dataset
Hadoop
R
AWS  @  Romeclda.co/aws-­‐roma
Generated  data  started  growing  ~10  years  ago…
“90%  of  the  data  in  the  world  today  has  been    
created  in  the  last  two  years  alone”  -­‐  IBM
“300+  hours  worth  of  video  content  is  being    
uploaded  to  the  site  every  minute”  -­‐  Youtube
AWS  @  Romeclda.co/aws-­‐roma
…  and  it  keeps  geMng  bigger!
AWS  @  Romeclda.co/aws-­‐roma
Big  data  challenges
Manual  explora:on  is  not  an  op:on
Data-­‐driven  decisions  are  a  must
Distributed/parallel  compu:ng
The  curse  of  dimensionality
AWS  @  Romeclda.co/aws-­‐roma
AWS  @  Romeclda.co/aws-­‐roma
AWS  @  Romeclda.co/aws-­‐roma
Why  is  deploying  ML  models  a  challenge?
AWS  @  Romeclda.co/aws-­‐roma
Why  is  deploying  ML  models  a  challenge?
AWS  @  Romeclda.co/aws-­‐roma
+
+
Data  
Scien:st
Data
Time
Why  is  deploying  ML  models  a  challenge?
AWS  @  Romeclda.co/aws-­‐roma
+
+
Data  
Scien:st
Data
Time
ML  
Model
Data  
Visualisa:on
Prototype
+
+
Why  is  deploying  ML  models  a  challenge?
AWS  @  Romeclda.co/aws-­‐roma
Produc:on  
Code
+
+
Data  
Scien:st
Data
Time
ML  
Model
Data  
Visualisa:on
Prototype
+
+
Why  is  deploying  ML  models  a  challenge?
AWS  @  Romeclda.co/aws-­‐roma
+
+
Data  
Scien:st
Data
Time
ML  
Model
Data  
Visualisa:on
Prototype
+
+
Web  
Developer
DevOps
A  lot  of  
Time
+
+
Why  is  deploying  ML  models  a  challenge?
1.  Prototyping  !=  Produc:on-­‐ready
2.  We  need  Elas:city
4.  Mul:-­‐model  architectures
3.  Too  many  nice-­‐to-­‐have  features
5.  Avoid  lack  of  ownership
AWS  @  Romeclda.co/aws-­‐roma
Machine  Learning  as  a  Service  (MLaaS)
Amazon

Machine  Learning
Azure

Machine  Learning
Google

PredicCon  API
IMB

Watson  AnalyCcs
BigML

AWS  @  Romeclda.co/aws-­‐roma
cloudacademy.com/blog/machine-­‐learning
Amazon  Machine  Learning
AmazonML
One  of  the  first  MLaaS  solu:ons  (Apr  2015)
It’s  great  for  classifica:on  and  regression  problems
Only  linear  models  (linear  &  logis:c  regression  +  SGD)
No  support  for  advanced  scenarios  yet  
AWS  @  Romeclda.co/aws-­‐roma
AmazonML  @  Cloud  Academy
clda.co/7-­‐day-­‐free
(no  credit  card  required!)
AWS  @  Romeclda.co/aws-­‐roma
Serverless  compuCng  to  the  rescue!
Transparent  scalability,  elas:city  and  availability
Developer-­‐friendly  maintenance  (versioning  +  aliases)
AWS  
Lambda
Event-­‐driven  approach  &  never  pay  for  idle
Microservices  culture
AWS  @  Romeclda.co/aws-­‐roma
Quick  Example
clda.co/ML-­‐Lambda
AWS  @  Romeclda.co/aws-­‐roma
AWS  @  Rome
Serverless  ML  @  Cloud  Academy
Mul:-­‐model  architecture
RESTful  interface  for  each  ML  model
1  Lambda  Func:on  for  each  ML  model
S3  +  RDS  for  storage
Periodic  training  (offline)
Real-­‐world  Example
clda.co/aws-­‐roma
AWS  @  Romeclda.co/aws-­‐roma
AWS  @  Romeclda.co/aws-­‐roma
AWS  @  Romeclda.co/aws-­‐roma
AWS  
Lambda
No  real-­‐:me  models  (only  pseudo  real-­‐:me)
Deployment  package  management:  size  limit  and  OS  libraries
Not  suitable  for  model  training  yet  (5  min  max  execu:on  :me)
Cold  start  :me  is  long  and  hard  to  avoid
Unit/integra:on  tests  help,  but  not  enough
LimitaCons  of  Serverless  ML
Grazie  =)
cloudacademy.com
Q  &  A
10/15/2016 AWS  @  Rome

More Related Content

Viewers also liked

Cloud Academy & AWS: how we use Amazon Web Services for machine learning and ...
Cloud Academy & AWS: how we use Amazon Web Services for machine learning and ...Cloud Academy & AWS: how we use Amazon Web Services for machine learning and ...
Cloud Academy & AWS: how we use Amazon Web Services for machine learning and ...Alex Casalboni
 
New Threats, New Approaches in Modern Data Centers
New Threats, New Approaches in Modern Data CentersNew Threats, New Approaches in Modern Data Centers
New Threats, New Approaches in Modern Data CentersIben Rodriguez
 
In-Memory Distributed Computing - Porto Tech Hub
In-Memory Distributed Computing - Porto Tech HubIn-Memory Distributed Computing - Porto Tech Hub
In-Memory Distributed Computing - Porto Tech HubChristoph Engelbert
 
[Defcon Russia #29] Михаил Клементьев - Обнаружение руткитов в GNU/Linux
[Defcon Russia #29] Михаил Клементьев - Обнаружение руткитов в GNU/Linux[Defcon Russia #29] Михаил Клементьев - Обнаружение руткитов в GNU/Linux
[Defcon Russia #29] Михаил Клементьев - Обнаружение руткитов в GNU/LinuxDefconRussia
 
Golang 101 (Concurrency vs Parallelism)
Golang 101 (Concurrency vs Parallelism)Golang 101 (Concurrency vs Parallelism)
Golang 101 (Concurrency vs Parallelism)Pramesti Hatta K.
 
SUSE Expert Days 2017 LENOVO
SUSE Expert Days 2017 LENOVOSUSE Expert Days 2017 LENOVO
SUSE Expert Days 2017 LENOVOSUSE España
 
Let's Learn to Talk to GC Logs in Java 9
Let's Learn to Talk to GC Logs in Java 9Let's Learn to Talk to GC Logs in Java 9
Let's Learn to Talk to GC Logs in Java 9Poonam Bajaj Parhar
 
User defined functions in C programmig
User defined functions in C programmigUser defined functions in C programmig
User defined functions in C programmigAppili Vamsi Krishna
 
Webinar - Comparative Analysis of Cloud based Machine Learning Platforms
Webinar - Comparative Analysis of Cloud based Machine Learning PlatformsWebinar - Comparative Analysis of Cloud based Machine Learning Platforms
Webinar - Comparative Analysis of Cloud based Machine Learning PlatformsBigDataCloud
 
Building prediction models with Amazon Redshift and Amazon Machine Learning -...
Building prediction models with Amazon Redshift and Amazon Machine Learning -...Building prediction models with Amazon Redshift and Amazon Machine Learning -...
Building prediction models with Amazon Redshift and Amazon Machine Learning -...Amazon Web Services
 
Streaming Data Analytics with Kinesis Firehouse and Redshift
Streaming Data Analytics with Kinesis Firehouse and RedshiftStreaming Data Analytics with Kinesis Firehouse and Redshift
Streaming Data Analytics with Kinesis Firehouse and RedshiftAmazon Web Services
 
ECS for Amazon Deep Learning and Amazon Machine Learning
ECS for Amazon Deep Learning and Amazon Machine LearningECS for Amazon Deep Learning and Amazon Machine Learning
ECS for Amazon Deep Learning and Amazon Machine LearningAmanda Mackay (she/her)
 
Machine Learning for Developers - Pop-up Loft Tel Aviv
Machine Learning for Developers - Pop-up Loft Tel AvivMachine Learning for Developers - Pop-up Loft Tel Aviv
Machine Learning for Developers - Pop-up Loft Tel AvivAmazon Web Services
 
Voxxed Days Thesaloniki 2016 - Machine Learning for Developers
Voxxed Days Thesaloniki 2016 - Machine Learning for DevelopersVoxxed Days Thesaloniki 2016 - Machine Learning for Developers
Voxxed Days Thesaloniki 2016 - Machine Learning for DevelopersVoxxed Days Thessaloniki
 
Die Bedeutung von Machine Learning für den e-Commerce am Beispiel von Amazon
Die Bedeutung von Machine Learning für den e-Commerce am Beispiel von AmazonDie Bedeutung von Machine Learning für den e-Commerce am Beispiel von Amazon
Die Bedeutung von Machine Learning für den e-Commerce am Beispiel von AmazonRising Media Ltd.
 

Viewers also liked (18)

Cloud Academy & AWS: how we use Amazon Web Services for machine learning and ...
Cloud Academy & AWS: how we use Amazon Web Services for machine learning and ...Cloud Academy & AWS: how we use Amazon Web Services for machine learning and ...
Cloud Academy & AWS: how we use Amazon Web Services for machine learning and ...
 
Troubleshooting Java HotSpot VM
Troubleshooting Java HotSpot VMTroubleshooting Java HotSpot VM
Troubleshooting Java HotSpot VM
 
New Threats, New Approaches in Modern Data Centers
New Threats, New Approaches in Modern Data CentersNew Threats, New Approaches in Modern Data Centers
New Threats, New Approaches in Modern Data Centers
 
In-Memory Distributed Computing - Porto Tech Hub
In-Memory Distributed Computing - Porto Tech HubIn-Memory Distributed Computing - Porto Tech Hub
In-Memory Distributed Computing - Porto Tech Hub
 
[Defcon Russia #29] Михаил Клементьев - Обнаружение руткитов в GNU/Linux
[Defcon Russia #29] Михаил Клементьев - Обнаружение руткитов в GNU/Linux[Defcon Russia #29] Михаил Клементьев - Обнаружение руткитов в GNU/Linux
[Defcon Russia #29] Михаил Клементьев - Обнаружение руткитов в GNU/Linux
 
Golang 101 (Concurrency vs Parallelism)
Golang 101 (Concurrency vs Parallelism)Golang 101 (Concurrency vs Parallelism)
Golang 101 (Concurrency vs Parallelism)
 
menRDC - MEN Railway Data Center
menRDC - MEN Railway Data CentermenRDC - MEN Railway Data Center
menRDC - MEN Railway Data Center
 
SUSE Expert Days 2017 LENOVO
SUSE Expert Days 2017 LENOVOSUSE Expert Days 2017 LENOVO
SUSE Expert Days 2017 LENOVO
 
Let's Learn to Talk to GC Logs in Java 9
Let's Learn to Talk to GC Logs in Java 9Let's Learn to Talk to GC Logs in Java 9
Let's Learn to Talk to GC Logs in Java 9
 
User defined functions in C programmig
User defined functions in C programmigUser defined functions in C programmig
User defined functions in C programmig
 
Webinar - Comparative Analysis of Cloud based Machine Learning Platforms
Webinar - Comparative Analysis of Cloud based Machine Learning PlatformsWebinar - Comparative Analysis of Cloud based Machine Learning Platforms
Webinar - Comparative Analysis of Cloud based Machine Learning Platforms
 
Building prediction models with Amazon Redshift and Amazon Machine Learning -...
Building prediction models with Amazon Redshift and Amazon Machine Learning -...Building prediction models with Amazon Redshift and Amazon Machine Learning -...
Building prediction models with Amazon Redshift and Amazon Machine Learning -...
 
Streaming Data Analytics with Kinesis Firehouse and Redshift
Streaming Data Analytics with Kinesis Firehouse and RedshiftStreaming Data Analytics with Kinesis Firehouse and Redshift
Streaming Data Analytics with Kinesis Firehouse and Redshift
 
ECS for Amazon Deep Learning and Amazon Machine Learning
ECS for Amazon Deep Learning and Amazon Machine LearningECS for Amazon Deep Learning and Amazon Machine Learning
ECS for Amazon Deep Learning and Amazon Machine Learning
 
Machine Learning for Developers - Pop-up Loft Tel Aviv
Machine Learning for Developers - Pop-up Loft Tel AvivMachine Learning for Developers - Pop-up Loft Tel Aviv
Machine Learning for Developers - Pop-up Loft Tel Aviv
 
Voxxed Days Thesaloniki 2016 - Machine Learning for Developers
Voxxed Days Thesaloniki 2016 - Machine Learning for DevelopersVoxxed Days Thesaloniki 2016 - Machine Learning for Developers
Voxxed Days Thesaloniki 2016 - Machine Learning for Developers
 
AWS Big Data Solution Days
AWS Big Data Solution DaysAWS Big Data Solution Days
AWS Big Data Solution Days
 
Die Bedeutung von Machine Learning für den e-Commerce am Beispiel von Amazon
Die Bedeutung von Machine Learning für den e-Commerce am Beispiel von AmazonDie Bedeutung von Machine Learning für den e-Commerce am Beispiel von Amazon
Die Bedeutung von Machine Learning für den e-Commerce am Beispiel von Amazon
 

More from Alex Casalboni

Serverless Meetup SF - Lambda@Edge (Serverless & Originless on AWS)
Serverless Meetup SF - Lambda@Edge (Serverless & Originless on AWS)Serverless Meetup SF - Lambda@Edge (Serverless & Originless on AWS)
Serverless Meetup SF - Lambda@Edge (Serverless & Originless on AWS)Alex Casalboni
 
Seattle AWS - Lambda@Edge (Serverless & Originless on AWS)
Seattle AWS - Lambda@Edge (Serverless & Originless on AWS)Seattle AWS - Lambda@Edge (Serverless & Originless on AWS)
Seattle AWS - Lambda@Edge (Serverless & Originless on AWS)Alex Casalboni
 
Facial Analysis Techniques for Pythonista (and beyond!) - PyCon8
Facial Analysis Techniques for Pythonista (and beyond!) - PyCon8Facial Analysis Techniques for Pythonista (and beyond!) - PyCon8
Facial Analysis Techniques for Pythonista (and beyond!) - PyCon8Alex Casalboni
 
Serverless London - Lambda@Edge (Serverless & Originless on AWS)
Serverless London - Lambda@Edge (Serverless & Originless on AWS)Serverless London - Lambda@Edge (Serverless & Originless on AWS)
Serverless London - Lambda@Edge (Serverless & Originless on AWS)Alex Casalboni
 
Serverless Italy - Lambda@Edge (Preview)
Serverless Italy - Lambda@Edge (Preview)Serverless Italy - Lambda@Edge (Preview)
Serverless Italy - Lambda@Edge (Preview)Alex Casalboni
 
Building Serverless Machine Learning models in the Cloud
Building Serverless Machine Learning models in the CloudBuilding Serverless Machine Learning models in the Cloud
Building Serverless Machine Learning models in the CloudAlex Casalboni
 
Cloud Academy's AWS Hands on-labs
Cloud Academy's AWS Hands on-labsCloud Academy's AWS Hands on-labs
Cloud Academy's AWS Hands on-labsAlex Casalboni
 
How to deploy machine learning models in the Cloud
How to deploy machine learning models in the CloudHow to deploy machine learning models in the Cloud
How to deploy machine learning models in the CloudAlex Casalboni
 

More from Alex Casalboni (8)

Serverless Meetup SF - Lambda@Edge (Serverless & Originless on AWS)
Serverless Meetup SF - Lambda@Edge (Serverless & Originless on AWS)Serverless Meetup SF - Lambda@Edge (Serverless & Originless on AWS)
Serverless Meetup SF - Lambda@Edge (Serverless & Originless on AWS)
 
Seattle AWS - Lambda@Edge (Serverless & Originless on AWS)
Seattle AWS - Lambda@Edge (Serverless & Originless on AWS)Seattle AWS - Lambda@Edge (Serverless & Originless on AWS)
Seattle AWS - Lambda@Edge (Serverless & Originless on AWS)
 
Facial Analysis Techniques for Pythonista (and beyond!) - PyCon8
Facial Analysis Techniques for Pythonista (and beyond!) - PyCon8Facial Analysis Techniques for Pythonista (and beyond!) - PyCon8
Facial Analysis Techniques for Pythonista (and beyond!) - PyCon8
 
Serverless London - Lambda@Edge (Serverless & Originless on AWS)
Serverless London - Lambda@Edge (Serverless & Originless on AWS)Serverless London - Lambda@Edge (Serverless & Originless on AWS)
Serverless London - Lambda@Edge (Serverless & Originless on AWS)
 
Serverless Italy - Lambda@Edge (Preview)
Serverless Italy - Lambda@Edge (Preview)Serverless Italy - Lambda@Edge (Preview)
Serverless Italy - Lambda@Edge (Preview)
 
Building Serverless Machine Learning models in the Cloud
Building Serverless Machine Learning models in the CloudBuilding Serverless Machine Learning models in the Cloud
Building Serverless Machine Learning models in the Cloud
 
Cloud Academy's AWS Hands on-labs
Cloud Academy's AWS Hands on-labsCloud Academy's AWS Hands on-labs
Cloud Academy's AWS Hands on-labs
 
How to deploy machine learning models in the Cloud
How to deploy machine learning models in the CloudHow to deploy machine learning models in the Cloud
How to deploy machine learning models in the Cloud
 

Recently uploaded

Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 

Recently uploaded (20)

Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 

Serverless Machine Learning on AWS - AWS Rome Meetup

  • 1. Serverless  Machine  Learning   on  Amazon  Web  Services clda.co/aws-­‐roma 10/15/2016 AWS  @  Rome Applicazioni  di  Intelligenza  Ar:ficiale  con  AWS  Lambda
  • 2. @alex_casalboni clda.co/aws-­‐roma AWS  @  Rome Web  Developer  (6+  years) Sr.  SoFware  Engineer  @  Cloud  Academy Master  in  Computer  Science About  me
  • 3. What  is  Machine  Learning? Back  to  1959  (Arthur  Samuel) How  computers  learn  from  Data How  to  solve  decision  problems AWS  @  Romeclda.co/aws-­‐roma
  • 4. Machine  Learning  pipeline Training Predic3on batch real-­‐Cme Feature   extrac3on batch data informa:on features ML  models AWS  @  Romeclda.co/aws-­‐roma
  • 5. ? Machine  Learning  taxonomy Supervised     Learning Unsupervised     Learning AWS  @  Romeclda.co/aws-­‐roma
  • 6. ? Machine  Learning  taxonomy classifica9on regression 170
 cm Supervised     Learning Unsupervised     Learning AWS  @  Romeclda.co/aws-­‐roma
  • 7. Machine  Learning  taxonomy Supervised     Learning Unsupervised     Learning AWS  @  Romeclda.co/aws-­‐roma
  • 8. Machine  Learning  taxonomy clustering rule  extrac9on group A group B A, B C Supervised     Learning Unsupervised     Learning AWS  @  Romeclda.co/aws-­‐roma
  • 9. What  problems  can  ML  solve  for  you? Supervised     Learning Unsupervised     Learning classifica'on regression clustering rule  extrac'on ? 170
 cm gro gro A, B C AWS  @  Romeclda.co/aws-­‐roma
  • 10. What  problems  can  ML  solve  for  you? Supervised     Learning Unsupervised     Learning classifica'on regression clustering rule  extrac'on ? fraud  detec:on 170
 cm gro gro A, B C price  of  a  stock  over  :me purchase  likelihood user  segmenta:on AWS  @  Romeclda.co/aws-­‐roma
  • 11. Learning Data Machine Cloud Big Science Information Internet Statistics Technology Python Future Mining Social Deep IOT Algorithms Management Storage Petabytes Parallel Network Privacy Million NoSQL PaaS SQL Database Exabytes Billion Dataset Hadoop R AWS  @  Romeclda.co/aws-­‐roma
  • 12. Generated  data  started  growing  ~10  years  ago… “90%  of  the  data  in  the  world  today  has  been     created  in  the  last  two  years  alone”  -­‐  IBM “300+  hours  worth  of  video  content  is  being     uploaded  to  the  site  every  minute”  -­‐  Youtube AWS  @  Romeclda.co/aws-­‐roma
  • 13. …  and  it  keeps  geMng  bigger! AWS  @  Romeclda.co/aws-­‐roma
  • 14. Big  data  challenges Manual  explora:on  is  not  an  op:on Data-­‐driven  decisions  are  a  must Distributed/parallel  compu:ng The  curse  of  dimensionality AWS  @  Romeclda.co/aws-­‐roma
  • 17. Why  is  deploying  ML  models  a  challenge? AWS  @  Romeclda.co/aws-­‐roma
  • 18. Why  is  deploying  ML  models  a  challenge? AWS  @  Romeclda.co/aws-­‐roma + + Data   Scien:st Data Time
  • 19. Why  is  deploying  ML  models  a  challenge? AWS  @  Romeclda.co/aws-­‐roma + + Data   Scien:st Data Time ML   Model Data   Visualisa:on Prototype + +
  • 20. Why  is  deploying  ML  models  a  challenge? AWS  @  Romeclda.co/aws-­‐roma Produc:on   Code + + Data   Scien:st Data Time ML   Model Data   Visualisa:on Prototype + +
  • 21. Why  is  deploying  ML  models  a  challenge? AWS  @  Romeclda.co/aws-­‐roma + + Data   Scien:st Data Time ML   Model Data   Visualisa:on Prototype + + Web   Developer DevOps A  lot  of   Time + +
  • 22. Why  is  deploying  ML  models  a  challenge? 1.  Prototyping  !=  Produc:on-­‐ready 2.  We  need  Elas:city 4.  Mul:-­‐model  architectures 3.  Too  many  nice-­‐to-­‐have  features 5.  Avoid  lack  of  ownership AWS  @  Romeclda.co/aws-­‐roma
  • 23. Machine  Learning  as  a  Service  (MLaaS) Amazon
 Machine  Learning Azure
 Machine  Learning Google
 PredicCon  API IMB
 Watson  AnalyCcs BigML
 AWS  @  Romeclda.co/aws-­‐roma cloudacademy.com/blog/machine-­‐learning
  • 24. Amazon  Machine  Learning AmazonML One  of  the  first  MLaaS  solu:ons  (Apr  2015) It’s  great  for  classifica:on  and  regression  problems Only  linear  models  (linear  &  logis:c  regression  +  SGD) No  support  for  advanced  scenarios  yet   AWS  @  Romeclda.co/aws-­‐roma
  • 25. AmazonML  @  Cloud  Academy clda.co/7-­‐day-­‐free (no  credit  card  required!) AWS  @  Romeclda.co/aws-­‐roma
  • 26. Serverless  compuCng  to  the  rescue! Transparent  scalability,  elas:city  and  availability Developer-­‐friendly  maintenance  (versioning  +  aliases) AWS   Lambda Event-­‐driven  approach  &  never  pay  for  idle Microservices  culture AWS  @  Romeclda.co/aws-­‐roma
  • 27. Quick  Example clda.co/ML-­‐Lambda AWS  @  Romeclda.co/aws-­‐roma
  • 28. AWS  @  Rome Serverless  ML  @  Cloud  Academy Mul:-­‐model  architecture RESTful  interface  for  each  ML  model 1  Lambda  Func:on  for  each  ML  model S3  +  RDS  for  storage Periodic  training  (offline) Real-­‐world  Example clda.co/aws-­‐roma
  • 31. AWS  @  Romeclda.co/aws-­‐roma AWS   Lambda No  real-­‐:me  models  (only  pseudo  real-­‐:me) Deployment  package  management:  size  limit  and  OS  libraries Not  suitable  for  model  training  yet  (5  min  max  execu:on  :me) Cold  start  :me  is  long  and  hard  to  avoid Unit/integra:on  tests  help,  but  not  enough LimitaCons  of  Serverless  ML
  • 32. Grazie  =) cloudacademy.com Q  &  A 10/15/2016 AWS  @  Rome