SlideShare una empresa de Scribd logo
1 de 51
© 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Giuseppe Angelo Porcelli
Solutions Architect, Amazon Web Services
Paolo Genta
Senior Software Engineer, Edizioni Condè Nast Italia S.p.A.
Sviluppa, addestra e distribuisci
modelli di Machine Learning
su qualsiasi scala
LONG HISTORY OF ML AT AMAZON
THOUSANDS OF ENGINEERS ACROSS THE COMPANY FOCUSED ON AI
Personalized
recommendations
Inventing
entirely new
customer
experiences
Fulfillment
automation and
inventory
management
Drones Voice-driven
interactions
OUR MISSION AT AWS IS TO PUT
MACHINE LEARNING IN THE HANDS OF
EVERY DEVELOPER AND DATA
SCIENTIST
Amazon Polly
Amazon
Transcribe
Amazon Rekognition
Amazon Rekognition
Video
Amazon Translate
Amazon
Comprehend
Amazon Lex
VISION SPEECH LANGUAGE CHATBOT
SERVICES
Amazon SageMakerPLATFORMS Amazon ML Spark & EMR
Amazon
Mechanical Turk
MXNET
FRAMEWORKS
TensorFlow
Caffe2
& Caffe
Gluon KerasCNTKPyTorch
GPUINFRASTRUCTURE CPU
IoT
(Greengrass)
Mobile FPGAServerless
DEEP LEARNING AMI
AWS DeepLens
AMAZON AI
DEMOCRATIZED ARTIFICIAL INTELLIGENCE
Running AI in Production on AWS Today
THE MACHINE LEARNING PROCESS
Data Visualization &
Analysis
Business Problem –
ML problem framing Data Collection
Data Integration
Data Preparation &
Cleaning
Feature Engineering
Model Training &
Parameter Tuning
Model Evaluation
Are Business
Goals met?
Model Deployment
Monitoring &
Debugging
– Predictions
YesNo
DataAugmentation
Feature
Augmentation
Re-training
Help formulate the right
questions
• Domain Knowledge
Data Visualization &
Analysis
Business Problem –
ML problem framing Data Collection
Data Integration
Data Preparation &
Cleaning
Feature Engineering
Model Training &
Parameter Tuning
Model Evaluation
Are Business
Goals met?
Model Deployment
Monitoring &
Debugging
– Predictions
YesNo
DataAugmentation
Feature
Augmentation
Re-training
Help formulate the right
questions
• Domain Knowledge
DISCOVERY
Data Visualization &
Analysis
Business Problem –
ML problem framing Data Collection
Data Integration
Data Preparation &
Cleaning
Feature Engineering
Model Training &
Parameter Tuning
Model Evaluation
Are Business
Goals met?
Model Deployment
Monitoring &
Debugging
– Predictions
YesNo
DataAugmentation
Feature
Augmentation
Re-training
Build the data platform
• Amazon S3
• AWS Glue
• Amazon Athena
• Amazon EMR
• Amazon Redshift Spectrum
INTEGRATION
Data Visualization &
Analysis
Business Problem –
ML problem framing Data Collection
Data Integration
Data Preparation &
Cleaning
Feature Engineering
Model Training &
Parameter Tuning
Model Evaluation
Are Business
Goals met?
Model Deployment
Monitoring &
Debugging
– Predictions
YesNo
DataAugmentation
Feature
Augmentation
Re-training
• Setup and manage Notebook
Environments
• Setup and manage Training
Clusters
• Write Data Connectors
• Scale ML algorithms to large
datasets
• Distribute ML training
algorithm to multiple machines
• Secure Model artifacts
TRAINING
Data Visualization &
Analysis
Business Problem –
ML problem framing Data Collection
Data Integration
Data Preparation &
Cleaning
Feature Engineering
Model Training &
Parameter Tuning
Model Evaluation
Are Business
Goals met?
Model Deployment
Monitoring &
Debugging
– Predictions
YesNo
DataAugmentation
Feature
Augmentation
Re-training
• Setup and manage Model
Inference Clusters
• Manage and Auto-Scale Model
Inference APIs
• Monitor and Debug Model
Predictions
• Models versioning and
performance tracking
• Automate New Model version
promotion to production (A/B
testing)
DEPLOYMENT
A managed service
that provides the quickest and easiest way for
data scientists and developers to get
ML models from idea to production
Amazon SageMaker
AMAZON SAGEMAKER
Highly-optimized
machine learning
algorithms
BuildPre-built notebook
instances
AMAZON SAGEMAKER
One-click training
for ML, DL, and
custom algorithms
Easier training with
hyperparameter
optimization
Highly-optimized
machine learning
algorithms
BuildPre-built notebook
instances
Train
AMAZON SAGEMAKER
One-click training
for ML, DL, and
custom algorithms
Easier training with
hyperparameter
optimization
Highly-optimized
machine learning
algorithms
Deployment
without
engineering effort
Fully-managed
hosting at scale
BuildPre-built notebook
instances
Deploy
Train
AMAZON SAGEMAKER LAUNCH CUSTOMERS
“
- Ashok Srivastava, Chief Data Officer, Intuit
With Amazon SageMaker, we can accelerate our Artificial
Intelligence initiatives at scale by building and deploying
our algorithms on the platform. We will create novel large-
scale machine learning and AI algorithms and deploy them
on this platform to solve complex problems that can power
prosperity for our customers.
"
AMAZON SAGEMAKER KEY BENEFITS @
INTUIT
Ad-hoc setup and management
of notebook environments
Limited choices for model
deployment
Competing for compute
resources across teams
Easy data exploration
in SageMaker notebooks
Building around virtualization
for flexibility
Auto-scalable model hosting
environment
From To
AMAZON SAGEMAKER LAUNCH CUSTOMERS
“
- Dr. Walter Scott, CTO of Maxar Technologies
and founder of DigitalGlobe
"
As the world’s leading provider of high-resolution Earth imagery, data and
analysis, DigitalGlobe works with enormous amounts of data every day.
DigitalGlobe is making it easier for people to find, access, and run compute
against our entire 100PB image library, which is stored in AWS’s cloud, to
apply deep learning to satellite imagery. We plan to use Amazon
SageMaker to train models against petabytes of Earth observation imagery
datasets using hosted Jupyter notebooks, so DigitalGlobe's Geospatial Big
Data Platform (GBDX) users can just push a button, create a model, and
deploy it all within one scalable distributed environment at scale.
Summit Milan - 27 March 2018
Paolo Genta
Senior Software Engineer
@gentax
AWS Summit Milan - March 2018
30M Unique Visitors 250M Page Views
46% SEO 29% Social
CN.numbers // by month
20% Desktop80% Mobile
AWS Summit Milan - March 2018
CN.challange().engageUsers()
Behaviors analysis on authenticated
& not authenticated users
Users clustering and profiling
Better advertiser performance:
targeting ads, newsletter and e-commerce
Prediction: success of a content based on user
navigation and social network reaction
AWS Summit Milan - March 2018
CN.genius()
CN.genius().improve()
AWS Summit Milan - March 2018
CN.genius().showMobile()
Tailored made
related articles
Engage users
with ad hoc overlay
Show content
based on your
history
AWS Summit Milan - March 2018
CN.analyze().overview()
text
text
text
text
text
I’m a user
AWS Summit Milan - March 2018
CN.analyze().overview().addAI()
I’m a
HAPPY
user!!!
AWS Summit Milan - March 2018
CN.genius().user()CN.genius().user().idendity()CN.genius().user().clickstream()CN.genius().suggestedArticles()
AWS Summit Milan - March 2018
CN.genius().images()
more than
10M images
Automatic celeb
gallery
Gallery tag driven
Tags manager
AWS Summit Milan - March 2018
Collaborative filtering with
Amazon Neptune graph
DB
Data from videos:
Amazon Rekogniton Video
class nextstep extends CN.genius{…}
Use Amazon Comprehend
to analyze text with NLP
Stylist detection
{
“dress”: “Giorgio Armani”,
“bag”: “Gucci”
}
E-commerce:
click to shop
AWS Summit Milan - March 2018
class nextstep extends CN.genius.Sagemaker()
• We are not MXNet / Tensorflow experts: we need to
speed up
• Use a fully-managed machine learning compute instance
running a Jupyter Notebook and leverage on Amazon
SageMaker built-in algorithms
• Build -> Train -> Deploy all in one service: we can
decouple explorative analysis from training
• Ability to leverage on auto-scaling inference, with the
possibility to use your own algorithm packaged in a
Docker container
• DeepAR algorithm for forecasting scalar time series to
let ADV/Editors choose best moments to publish a
content
Thank you
Paolo Genta
Senior Software Engineer
@gentax
Amazon SageMaker Deep Dive
AMAZON SAGEMAKER COMPONENTS
Amazon’s fast, scalable algorithms
Idiomatic, distributed TensorFlow & MXNet
Bring your own algorithm
Hyperparameter optimization
UX HostingTraining
AMAZON SAGEMAKER COMPONENTS
Amazon’s fast, scalable algorithms
Idiomatic, distributed TensorFlow & MXNet
Bring your own algorithm
Hyperparameter optimization
UX HostingTraining
UX
… or Apache Spark
through EMR and
the SageMaker
Spark SDK...
Use SageMaker‘s
hosted Notebook
Instances...
... or SageMaker‘s
Console for a point
and click
experience...
... or your own
device (EC2,
laptop, etc.)
AMAZON SAGEMAKER COMPONENTS
Amazon’s fast, scalable algorithms
Idiomatic, distributed TensorFlow & MXNet
Bring your own algorithm
Hyperparameter optimization
UX HostingTraining
TRAINING
Zero setup Streaming datasets
+ distributed
compute
Docker / ECS Deploy trained models
locally or to
SageMaker,
Greengrass,
DeepLens
AMAZON SAGEMAKER COMPONENTS
Amazon’s fast, scalable algorithms
Idiomatic, distributed TensorFlow & MXNet
Bring your own algorithm
Hyperparameter optimization
UX HostingTraining
HOSTING
One step
deployment
Low latency, high
throughput, and
high reliability
A/B testing Use your own
model
AMAZON SAGEMAKER COMPONENTS
Amazon’s fast, scalable algorithms
Idiomatic, distributed TensorFlow & MXNet
Bring your own algorithm
Hyperparameter optimization
UX HostingTraining
BUILT-IN ALGORITHMS
XGBoost, FM,
Linear, and
Forecasting for
supervised learning
Kmeans, PCA, and
Word2Vec for
clustering and pre-
processing
Image
classification with
convolutional
neural networks
LDA and NTM for
topic modeling,
seq2seq for
translation
AMAZON SAGEMAKER COMPONENTS
Amazon’s fast, scalable algorithms
Idiomatic, distributed TensorFlow & MXNet
Bring your own algorithm
Hyperparameter optimization
UX HostingTraining
TensorFlow AND MXNet CONTAINERS
… explore and
refine models in a
single Notebook
Instance
… deploy to
production
Sample your
data…
Use the same code
to train on the full
dataset in a cluster
of GPU
instances…
AMAZON SAGEMAKER COMPONENTS
Amazon’s fast, scalable algorithms
Idiomatic, distributed TensorFlow & MXNet
Bring your own algorithm
Hyperparameter optimization
UX HostingTraining
BRING YOUR OWN ALGORITHM
... add algorithm
code to a Docker
container...
Pick your preferred
framework...
... publish to ECS
Amazon
ECS
AMAZON SAGEMAKER COMPONENTS
Amazon’s fast, scalable algorithms
Idiomatic, distributed TensorFlow & MXNet
Bring your own algorithm
Hyperparameter optimization
UX HostingTraining
HYPERPARAMETER OPTIMIZATION
Run a large set of training
jobs with varying
hyperparameters...
... and search the
hyperparameter space for
improved accuracy.
CALL TO ACTION
• Getting started with Amazon SageMaker: https://aws.amazon.com/sagemaker/
• Use the Amazon SageMaker high-level SDK:
• For Python: https://github.com/aws/sagemaker-python-sdk
• For Spark: https://github.com/aws/sagemaker-spark
• SageMaker Examples: https://github.com/awslabs/amazon-sagemaker-examples
• Let us know what you build!
Enabling Machine Learning and
learning from Amazon’s experience
AMAZON ML SOLUTIONS LAB
Lots of companies
doing Machine
Learning
Unable to unlock
business potential
Brainstorming Modeling Teaching
Lack ML
expertise
Leverage Amazon experts with decades of ML
experience with technologies like Amazon Echo,
Amazon Alexa, Prime Air and Amazon Go
Amazon ML Lab
provides the missing
ML expertise
AMAZON ML TECHNOLOGY PARTNERS
Annotation, Wrangling,
Procurement
Media NLP Optimization Other SaaS/API
Data
Annotations Generation ‘Wrangling’
Data management
Predictive model training
Model evaluation
Model deployment
Model management
Offline and online prediction
Computer Vision
Natural Language Processing
Recommendation Engines
Conversational Interfaces
Event Prediction
Anomaly Detection
Data Science &
Machine Learning
Platforms
D a t a S o l u t i o n s M L & D a t a S c i e n c e I n t e l l i g e n t S o l u t i o n s
aws.amazon.com/mp/ai
AWS MARKETPLACE
Thank You!
https://aws.amazon.com/machine-learning/

Más contenido relacionado

La actualidad más candente

Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptxTrack 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
Amazon Web Services
 

La actualidad más candente (20)

Build, train, and deploy ML models at scale.pdf
Build, train, and deploy ML models at scale.pdfBuild, train, and deploy ML models at scale.pdf
Build, train, and deploy ML models at scale.pdf
 
Automate your Amazon SageMaker Workflows (July 2019)
Automate your Amazon SageMaker Workflows (July 2019)Automate your Amazon SageMaker Workflows (July 2019)
Automate your Amazon SageMaker Workflows (July 2019)
 
Building smart applications with AWS AI services (October 2019)
Building smart applications with AWS AI services (October 2019)Building smart applications with AWS AI services (October 2019)
Building smart applications with AWS AI services (October 2019)
 
Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptxTrack 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
Track 6 Session 3_如何藉由 AWS AI 和機器學習平台搭建多功能的 AI 解決方案.pptx
 
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...
AWS DeepLens Workshop: Building Computer Vision Applications - BDA201 - Anahe...
 
Building Machine Learning Models Automatically (June 2020)
Building Machine Learning Models Automatically (June 2020)Building Machine Learning Models Automatically (June 2020)
Building Machine Learning Models Automatically (June 2020)
 
Machine Learning on AWS
Machine Learning on AWSMachine Learning on AWS
Machine Learning on AWS
 
Train & Deploy ML Models with Amazon Sagemaker: Collision 2018
Train & Deploy ML Models with Amazon Sagemaker: Collision 2018Train & Deploy ML Models with Amazon Sagemaker: Collision 2018
Train & Deploy ML Models with Amazon Sagemaker: Collision 2018
 
Breaking the Monolith Road to Containers
Breaking the Monolith Road to ContainersBreaking the Monolith Road to Containers
Breaking the Monolith Road to Containers
 
End-to-End Machine Learning with Amazon SageMaker
End-to-End Machine Learning with Amazon SageMakerEnd-to-End Machine Learning with Amazon SageMaker
End-to-End Machine Learning with Amazon SageMaker
 
Building Machine Learning Inference Pipelines at Scale (July 2019)
Building Machine Learning Inference Pipelines at Scale (July 2019)Building Machine Learning Inference Pipelines at Scale (July 2019)
Building Machine Learning Inference Pipelines at Scale (July 2019)
 
Scaling Machine Learning from zero to millions of users (May 2019)
Scaling Machine Learning from zero to millions of users (May 2019)Scaling Machine Learning from zero to millions of users (May 2019)
Scaling Machine Learning from zero to millions of users (May 2019)
 
AWS Re:Invent 2019 Re:Cap
AWS Re:Invent 2019 Re:CapAWS Re:Invent 2019 Re:Cap
AWS Re:Invent 2019 Re:Cap
 
DataPalooza: ML & IoT Workshop
DataPalooza: ML & IoT WorkshopDataPalooza: ML & IoT Workshop
DataPalooza: ML & IoT Workshop
 
Intro To Serverless Application Architecture: Collision 2018
Intro To Serverless Application Architecture: Collision 2018Intro To Serverless Application Architecture: Collision 2018
Intro To Serverless Application Architecture: Collision 2018
 
Speed up your Machine Learning workflows with build-in algorithms
Speed up your Machine Learning workflows with build-in algorithmsSpeed up your Machine Learning workflows with build-in algorithms
Speed up your Machine Learning workflows with build-in algorithms
 
AWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed Raafat
AWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed RaafatAWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed Raafat
AWS reinvent 2019 recap - Riyadh - AI And ML - Ahmed Raafat
 
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul MaddoxAWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
AWS reinvent 2019 recap - Riyadh - Containers and Serverless - Paul Maddox
 
Machine Learning: From Notebook to Production with Amazon Sagemaker
Machine Learning: From Notebook to Production with Amazon SagemakerMachine Learning: From Notebook to Production with Amazon Sagemaker
Machine Learning: From Notebook to Production with Amazon Sagemaker
 
Global AI Night - Azure ML visual interface
Global AI Night - Azure ML visual interfaceGlobal AI Night - Azure ML visual interface
Global AI Night - Azure ML visual interface
 

Similar a Sviluppa, addestra e distribuisci modelli di Machine learning su qualsiasi scala

Similar a Sviluppa, addestra e distribuisci modelli di Machine learning su qualsiasi scala (20)

Machine Learning in azione con Amazon SageMaker
Machine Learning in azione con Amazon SageMakerMachine Learning in azione con Amazon SageMaker
Machine Learning in azione con Amazon SageMaker
 
Integrating Amazon SageMaker into your Enterprise - AWS Online Tech Talks
Integrating Amazon SageMaker into your Enterprise - AWS Online Tech TalksIntegrating Amazon SageMaker into your Enterprise - AWS Online Tech Talks
Integrating Amazon SageMaker into your Enterprise - AWS Online Tech Talks
 
Supercharge your Machine Learning Solutions with Amazon SageMaker
Supercharge your Machine Learning Solutions with Amazon SageMakerSupercharge your Machine Learning Solutions with Amazon SageMaker
Supercharge your Machine Learning Solutions with Amazon SageMaker
 
Building, Training and Deploying Custom Algorithms with Amazon SageMaker
Building, Training and Deploying Custom Algorithms with Amazon SageMakerBuilding, Training and Deploying Custom Algorithms with Amazon SageMaker
Building, Training and Deploying Custom Algorithms with Amazon SageMaker
 
Train ML Models Using Amazon SageMaker with TensorFlow - SRV336 - Chicago AWS...
Train ML Models Using Amazon SageMaker with TensorFlow - SRV336 - Chicago AWS...Train ML Models Using Amazon SageMaker with TensorFlow - SRV336 - Chicago AWS...
Train ML Models Using Amazon SageMaker with TensorFlow - SRV336 - Chicago AWS...
 
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
Perform Machine Learning at the IoT Edge using AWS Greengrass and Amazon Sage...
 
Introducing Amazon SageMaker
Introducing Amazon SageMakerIntroducing Amazon SageMaker
Introducing Amazon SageMaker
 
An Introduction to Amazon SageMaker (October 2018)
An Introduction to Amazon SageMaker (October 2018)An Introduction to Amazon SageMaker (October 2018)
An Introduction to Amazon SageMaker (October 2018)
 
Supercharge Your Machine Learning Solutions with Amazon SageMaker
Supercharge Your Machine Learning Solutions with Amazon SageMakerSupercharge Your Machine Learning Solutions with Amazon SageMaker
Supercharge Your Machine Learning Solutions with Amazon SageMaker
 
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
 
Amazon SageMaker workshop
Amazon SageMaker workshopAmazon SageMaker workshop
Amazon SageMaker workshop
 
Using Amazon SageMaker to build, train, and deploy your ML Models
Using Amazon SageMaker to build, train, and deploy your ML ModelsUsing Amazon SageMaker to build, train, and deploy your ML Models
Using Amazon SageMaker to build, train, and deploy your ML Models
 
Build, train and deploy ML models with SageMaker (October 2019)
Build, train and deploy ML models with SageMaker (October 2019)Build, train and deploy ML models with SageMaker (October 2019)
Build, train and deploy ML models with SageMaker (October 2019)
 
Using Amazon SageMaker to build, train, & deploy your ML Models
Using Amazon SageMaker to build, train, & deploy your ML ModelsUsing Amazon SageMaker to build, train, & deploy your ML Models
Using Amazon SageMaker to build, train, & deploy your ML Models
 
Machine Learning on AWS
Machine Learning on AWSMachine Learning on AWS
Machine Learning on AWS
 
Build, Train, & Deploy ML Models Using SageMaker: Machine Learning Week San F...
Build, Train, & Deploy ML Models Using SageMaker: Machine Learning Week San F...Build, Train, & Deploy ML Models Using SageMaker: Machine Learning Week San F...
Build, Train, & Deploy ML Models Using SageMaker: Machine Learning Week San F...
 
From Notebook to production with Amazon SageMaker
From Notebook to production with Amazon SageMakerFrom Notebook to production with Amazon SageMaker
From Notebook to production with Amazon SageMaker
 
AWS Summit Singapore - Artificial Intelligence to Delight Your Customers
AWS Summit Singapore - Artificial Intelligence to Delight Your CustomersAWS Summit Singapore - Artificial Intelligence to Delight Your Customers
AWS Summit Singapore - Artificial Intelligence to Delight Your Customers
 
Integrating Deep Learning Into Your Enterprise
Integrating Deep Learning Into Your EnterpriseIntegrating Deep Learning Into Your Enterprise
Integrating Deep Learning Into Your Enterprise
 
End to End Model Development to Deployment using SageMaker
End to End Model Development to Deployment using SageMakerEnd to End Model Development to Deployment using SageMaker
End to End Model Development to Deployment using SageMaker
 

Más de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
Amazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Más de Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Sviluppa, addestra e distribuisci modelli di Machine learning su qualsiasi scala

  • 1. © 2018, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Giuseppe Angelo Porcelli Solutions Architect, Amazon Web Services Paolo Genta Senior Software Engineer, Edizioni Condè Nast Italia S.p.A. Sviluppa, addestra e distribuisci modelli di Machine Learning su qualsiasi scala
  • 2. LONG HISTORY OF ML AT AMAZON THOUSANDS OF ENGINEERS ACROSS THE COMPANY FOCUSED ON AI Personalized recommendations Inventing entirely new customer experiences Fulfillment automation and inventory management Drones Voice-driven interactions
  • 3. OUR MISSION AT AWS IS TO PUT MACHINE LEARNING IN THE HANDS OF EVERY DEVELOPER AND DATA SCIENTIST
  • 4. Amazon Polly Amazon Transcribe Amazon Rekognition Amazon Rekognition Video Amazon Translate Amazon Comprehend Amazon Lex VISION SPEECH LANGUAGE CHATBOT SERVICES Amazon SageMakerPLATFORMS Amazon ML Spark & EMR Amazon Mechanical Turk MXNET FRAMEWORKS TensorFlow Caffe2 & Caffe Gluon KerasCNTKPyTorch GPUINFRASTRUCTURE CPU IoT (Greengrass) Mobile FPGAServerless DEEP LEARNING AMI AWS DeepLens AMAZON AI DEMOCRATIZED ARTIFICIAL INTELLIGENCE
  • 5. Running AI in Production on AWS Today
  • 6. THE MACHINE LEARNING PROCESS Data Visualization & Analysis Business Problem – ML problem framing Data Collection Data Integration Data Preparation & Cleaning Feature Engineering Model Training & Parameter Tuning Model Evaluation Are Business Goals met? Model Deployment Monitoring & Debugging – Predictions YesNo DataAugmentation Feature Augmentation Re-training Help formulate the right questions • Domain Knowledge
  • 7. Data Visualization & Analysis Business Problem – ML problem framing Data Collection Data Integration Data Preparation & Cleaning Feature Engineering Model Training & Parameter Tuning Model Evaluation Are Business Goals met? Model Deployment Monitoring & Debugging – Predictions YesNo DataAugmentation Feature Augmentation Re-training Help formulate the right questions • Domain Knowledge DISCOVERY
  • 8. Data Visualization & Analysis Business Problem – ML problem framing Data Collection Data Integration Data Preparation & Cleaning Feature Engineering Model Training & Parameter Tuning Model Evaluation Are Business Goals met? Model Deployment Monitoring & Debugging – Predictions YesNo DataAugmentation Feature Augmentation Re-training Build the data platform • Amazon S3 • AWS Glue • Amazon Athena • Amazon EMR • Amazon Redshift Spectrum INTEGRATION
  • 9. Data Visualization & Analysis Business Problem – ML problem framing Data Collection Data Integration Data Preparation & Cleaning Feature Engineering Model Training & Parameter Tuning Model Evaluation Are Business Goals met? Model Deployment Monitoring & Debugging – Predictions YesNo DataAugmentation Feature Augmentation Re-training • Setup and manage Notebook Environments • Setup and manage Training Clusters • Write Data Connectors • Scale ML algorithms to large datasets • Distribute ML training algorithm to multiple machines • Secure Model artifacts TRAINING
  • 10. Data Visualization & Analysis Business Problem – ML problem framing Data Collection Data Integration Data Preparation & Cleaning Feature Engineering Model Training & Parameter Tuning Model Evaluation Are Business Goals met? Model Deployment Monitoring & Debugging – Predictions YesNo DataAugmentation Feature Augmentation Re-training • Setup and manage Model Inference Clusters • Manage and Auto-Scale Model Inference APIs • Monitor and Debug Model Predictions • Models versioning and performance tracking • Automate New Model version promotion to production (A/B testing) DEPLOYMENT
  • 11. A managed service that provides the quickest and easiest way for data scientists and developers to get ML models from idea to production Amazon SageMaker
  • 13. AMAZON SAGEMAKER One-click training for ML, DL, and custom algorithms Easier training with hyperparameter optimization Highly-optimized machine learning algorithms BuildPre-built notebook instances Train
  • 14. AMAZON SAGEMAKER One-click training for ML, DL, and custom algorithms Easier training with hyperparameter optimization Highly-optimized machine learning algorithms Deployment without engineering effort Fully-managed hosting at scale BuildPre-built notebook instances Deploy Train
  • 15. AMAZON SAGEMAKER LAUNCH CUSTOMERS “ - Ashok Srivastava, Chief Data Officer, Intuit With Amazon SageMaker, we can accelerate our Artificial Intelligence initiatives at scale by building and deploying our algorithms on the platform. We will create novel large- scale machine learning and AI algorithms and deploy them on this platform to solve complex problems that can power prosperity for our customers. "
  • 16. AMAZON SAGEMAKER KEY BENEFITS @ INTUIT Ad-hoc setup and management of notebook environments Limited choices for model deployment Competing for compute resources across teams Easy data exploration in SageMaker notebooks Building around virtualization for flexibility Auto-scalable model hosting environment From To
  • 17. AMAZON SAGEMAKER LAUNCH CUSTOMERS “ - Dr. Walter Scott, CTO of Maxar Technologies and founder of DigitalGlobe " As the world’s leading provider of high-resolution Earth imagery, data and analysis, DigitalGlobe works with enormous amounts of data every day. DigitalGlobe is making it easier for people to find, access, and run compute against our entire 100PB image library, which is stored in AWS’s cloud, to apply deep learning to satellite imagery. We plan to use Amazon SageMaker to train models against petabytes of Earth observation imagery datasets using hosted Jupyter notebooks, so DigitalGlobe's Geospatial Big Data Platform (GBDX) users can just push a button, create a model, and deploy it all within one scalable distributed environment at scale.
  • 18. Summit Milan - 27 March 2018 Paolo Genta Senior Software Engineer @gentax
  • 19. AWS Summit Milan - March 2018 30M Unique Visitors 250M Page Views 46% SEO 29% Social CN.numbers // by month 20% Desktop80% Mobile
  • 20. AWS Summit Milan - March 2018 CN.challange().engageUsers() Behaviors analysis on authenticated & not authenticated users Users clustering and profiling Better advertiser performance: targeting ads, newsletter and e-commerce Prediction: success of a content based on user navigation and social network reaction
  • 21. AWS Summit Milan - March 2018 CN.genius() CN.genius().improve()
  • 22. AWS Summit Milan - March 2018 CN.genius().showMobile() Tailored made related articles Engage users with ad hoc overlay Show content based on your history
  • 23. AWS Summit Milan - March 2018 CN.analyze().overview() text text text text text I’m a user
  • 24. AWS Summit Milan - March 2018 CN.analyze().overview().addAI() I’m a HAPPY user!!!
  • 25. AWS Summit Milan - March 2018 CN.genius().user()CN.genius().user().idendity()CN.genius().user().clickstream()CN.genius().suggestedArticles()
  • 26. AWS Summit Milan - March 2018 CN.genius().images() more than 10M images Automatic celeb gallery Gallery tag driven Tags manager
  • 27. AWS Summit Milan - March 2018 Collaborative filtering with Amazon Neptune graph DB Data from videos: Amazon Rekogniton Video class nextstep extends CN.genius{…} Use Amazon Comprehend to analyze text with NLP Stylist detection { “dress”: “Giorgio Armani”, “bag”: “Gucci” } E-commerce: click to shop
  • 28. AWS Summit Milan - March 2018 class nextstep extends CN.genius.Sagemaker() • We are not MXNet / Tensorflow experts: we need to speed up • Use a fully-managed machine learning compute instance running a Jupyter Notebook and leverage on Amazon SageMaker built-in algorithms • Build -> Train -> Deploy all in one service: we can decouple explorative analysis from training • Ability to leverage on auto-scaling inference, with the possibility to use your own algorithm packaged in a Docker container • DeepAR algorithm for forecasting scalar time series to let ADV/Editors choose best moments to publish a content
  • 29. Thank you Paolo Genta Senior Software Engineer @gentax
  • 31. AMAZON SAGEMAKER COMPONENTS Amazon’s fast, scalable algorithms Idiomatic, distributed TensorFlow & MXNet Bring your own algorithm Hyperparameter optimization UX HostingTraining
  • 32. AMAZON SAGEMAKER COMPONENTS Amazon’s fast, scalable algorithms Idiomatic, distributed TensorFlow & MXNet Bring your own algorithm Hyperparameter optimization UX HostingTraining
  • 33. UX … or Apache Spark through EMR and the SageMaker Spark SDK... Use SageMaker‘s hosted Notebook Instances... ... or SageMaker‘s Console for a point and click experience... ... or your own device (EC2, laptop, etc.)
  • 34. AMAZON SAGEMAKER COMPONENTS Amazon’s fast, scalable algorithms Idiomatic, distributed TensorFlow & MXNet Bring your own algorithm Hyperparameter optimization UX HostingTraining
  • 35. TRAINING Zero setup Streaming datasets + distributed compute Docker / ECS Deploy trained models locally or to SageMaker, Greengrass, DeepLens
  • 36. AMAZON SAGEMAKER COMPONENTS Amazon’s fast, scalable algorithms Idiomatic, distributed TensorFlow & MXNet Bring your own algorithm Hyperparameter optimization UX HostingTraining
  • 37. HOSTING One step deployment Low latency, high throughput, and high reliability A/B testing Use your own model
  • 38. AMAZON SAGEMAKER COMPONENTS Amazon’s fast, scalable algorithms Idiomatic, distributed TensorFlow & MXNet Bring your own algorithm Hyperparameter optimization UX HostingTraining
  • 39. BUILT-IN ALGORITHMS XGBoost, FM, Linear, and Forecasting for supervised learning Kmeans, PCA, and Word2Vec for clustering and pre- processing Image classification with convolutional neural networks LDA and NTM for topic modeling, seq2seq for translation
  • 40. AMAZON SAGEMAKER COMPONENTS Amazon’s fast, scalable algorithms Idiomatic, distributed TensorFlow & MXNet Bring your own algorithm Hyperparameter optimization UX HostingTraining
  • 41. TensorFlow AND MXNet CONTAINERS … explore and refine models in a single Notebook Instance … deploy to production Sample your data… Use the same code to train on the full dataset in a cluster of GPU instances…
  • 42. AMAZON SAGEMAKER COMPONENTS Amazon’s fast, scalable algorithms Idiomatic, distributed TensorFlow & MXNet Bring your own algorithm Hyperparameter optimization UX HostingTraining
  • 43. BRING YOUR OWN ALGORITHM ... add algorithm code to a Docker container... Pick your preferred framework... ... publish to ECS Amazon ECS
  • 44. AMAZON SAGEMAKER COMPONENTS Amazon’s fast, scalable algorithms Idiomatic, distributed TensorFlow & MXNet Bring your own algorithm Hyperparameter optimization UX HostingTraining
  • 45. HYPERPARAMETER OPTIMIZATION Run a large set of training jobs with varying hyperparameters... ... and search the hyperparameter space for improved accuracy.
  • 46. CALL TO ACTION • Getting started with Amazon SageMaker: https://aws.amazon.com/sagemaker/ • Use the Amazon SageMaker high-level SDK: • For Python: https://github.com/aws/sagemaker-python-sdk • For Spark: https://github.com/aws/sagemaker-spark • SageMaker Examples: https://github.com/awslabs/amazon-sagemaker-examples • Let us know what you build!
  • 47. Enabling Machine Learning and learning from Amazon’s experience
  • 48. AMAZON ML SOLUTIONS LAB Lots of companies doing Machine Learning Unable to unlock business potential Brainstorming Modeling Teaching Lack ML expertise Leverage Amazon experts with decades of ML experience with technologies like Amazon Echo, Amazon Alexa, Prime Air and Amazon Go Amazon ML Lab provides the missing ML expertise
  • 49. AMAZON ML TECHNOLOGY PARTNERS Annotation, Wrangling, Procurement Media NLP Optimization Other SaaS/API Data Annotations Generation ‘Wrangling’ Data management Predictive model training Model evaluation Model deployment Model management Offline and online prediction Computer Vision Natural Language Processing Recommendation Engines Conversational Interfaces Event Prediction Anomaly Detection Data Science & Machine Learning Platforms
  • 50. D a t a S o l u t i o n s M L & D a t a S c i e n c e I n t e l l i g e n t S o l u t i o n s aws.amazon.com/mp/ai AWS MARKETPLACE