SlideShare a Scribd company logo
1 of 33
Download to read offline
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Artificial Intelligence on AWS
Alex Coqueiro
Solutions Architecture Team
Public Sector Canada, Latin America & Caribbean
September 20th, 2017
@alexbcbr
technology which can perform tasks that
usually require human intelligence
Artificial Intelligence
Running AI in Production on AWS
How does it work ?
Historical Data Model Building Prediction
What is my color?
And what is mine?
… but more data …
Less Data More Data Even More Data
Linear Models
Categorical Models
Bayesian Methods
Decision Trees
Neural Networks
Cluster Analysis
… More …
Kernel Based Methods
Intelligent Services Powered By Deep Learning
Amazon AI
AI Services
AI Platform
AI Engines
Amazon
Rekognition
Amazon
Polly
Amazon
Lex
Amazon
Machine Learning
Amazon Elastic
MapReduce
Spark &
SparkML
Caffe Theano KerasTorch CNTK
Amazon AI: Democratized AI
TensorFlow
P2 ECS Lambda
AWS
Greengrass
FPGAEMR/Spark InfrastructureG2/G3
Apache
MXNet
…Business Problem…
1
2
…Business Problem…
1
2
Amazon Rekognition
Deep learning-based image recognition service
Search, verify, and organize millions of images
Object and Scene
Detection
Facial
Analysis
Face
Comparison
Facial
Recognition
Face Comparison
Measure the likelihood that faces in two images are of
the same person
• Add face verification to
applications and devices
• Extend physical security
controls
• Provide guest access to
VIP-only facilities
• Verify users for online
exams and polls
Amazon Rekognition API
var compareParams = {
SimilarityThreshold: 90,
SourceImage: { ... },
TargetImage: { ... }
}};
rekognition.compareFaces(compareParams, function(err, data) {
if (err) {
console.log(err, err.stack); // an error occurred
} else {
if (data.FaceMatches.length > 0) {
//get item in dynamo
console.log("Similarity: " + data.FaceMatches[0].Similarity);
dynamodb.getItem(paramsItem, function(err, data) { ... }
}
});
…Business Problem…
1
2
Deep Learning – Neural Network
 Output
Neural Network
Input
Hidden layers
Computing systems inspired by the biological neural networks
which learn to do tasks by considering examples, generally
without task-specific programming
Deep Learning – Neural Network
AWS Deep Learning AMI
Up to 40,000
CUDA Cores
Frameworks &
Libraries
Python Notebooks
& Examples
https://aws.amazon.com/amazon-ai/amis/
AWS
Instance
Type
High
Memory
X1
Compute
Optimized
C4
Storage
Optimized
D2
General
Purpose
M4
FPGA
F1
GPU
Optimized
P2
Graphics
Optimized
G2
Graphics
Optimized
G3
Intel Processor
Intel Xeon E7-
8880 v3
Custom Intel
Xeon E5-2666 v3
Custom Intel
Xeon E5-2676 v3
Custom Intel
Xeon E5-2676 v3
Intel Xeon
E5-2686 v4
Intel Xeon
E5-2686 v4
Intel Xeon
E5-2670
Intel Xeon E5-
2686 v4
Intel AVX AVX 2.0 AVX 2.0 AVX 2.0 AVX 2.0 Yes Yes Yes Yes
Intel AES-NI Yes Yes Yes Yes Yes Yes Yes Yes
Intel Turbo Boost Yes Yes Yes Yes Yes Yes Yes Yes
Network
Performance
25 Gbps 10 Gbps 10 Gbps 25 Gbps 25 Gbps 25 Gbps 10 Gbps 25 Gbps
SSD Storage
EBS Optimized
by default
EBS Optimized
by default
No
EBS Optimized
by default
Yes EBS only Yes EBS only
Amazon EC2 Instances with Intel® Technologies
Apache MXNet
Programmable Portable High Performance
Near linear scaling
across hundreds of GPUs
Highly efficient
models for mobile
and IoT
Simple syntax,
multiple languages
Frameworks de Deep Learning
IMPERATIVE
NDARRAY API
DECLARATIVE
SYMBOLIC
EXECUTOR
>>> import mxnet as mx
>>> a = mx.nd.zeros((100, 50))
>>> b = mx.nd.ones((100, 50))
>>> c = a + b
>>> c += 1
>>> print(c)
>>> import mxnet as mx
>>> net = mx.symbol.Variable('data')
>>> net = mx.symbol.FullyConnected(data=net, num_hidden=128)
>>> net = mx.symbol.SoftmaxOutput(data=net)
>>> texec = mx.module.Module(net)
>>> texec.forward(data=c)
>>> texec.backward()
Mixed Programming Paradigm
…Business Problem…
1
2
Amazon Polly: Life-like Speech Service
Converts text
to life-like
speech
47 voices 24 languages Low latency,
real time
Fully managed
TEXT
Market grew by > 20%.
WORDSPHONEMES
{
{
{
{
{
ˈtwɛn.ti
pɚ.ˈsɛnt
ˈmɑɹ.kət ˈgɹu baɪ ˈmoʊɹ
ˈðæn
PROSODY CONTOURUNIT SELECTION AND ADAPTATION
TEXT PROCESSING
PROSODY MODIFICATIONSTREAMING
Market grew by more
than
twenty
percent
Speech units
inventory
Markup language: SSML
Speech Synthesis Markup Language
is a W3C recommendation, an XML-based markup language for speech
synthesis applications
<speak>
My name is Coqueiro. It is spelled
<prosody rate='x-slow'>
<say-as interpret-as="characters">Coqueiro</say-as>
</prosody>
</speak>
Converting text to life-like speech
# Invoke Polly client
polly = Session().client("polly")
#Voice synthesize
response = polly.synthesize_speech(
Text=data,
TextType="ssml",
OutputFormat="mp3",
VoiceId="Vitoria”
)
Invoking MXNet models
# Library Importing
import mxnet as mx
import numpy as np
# Model loading
sym, arg_params, aux_params = load_model(f_symbol_file.name, f_params_file.name)
# Parameters
mod = mx.mod.Module(symbol=sym)
mod.bind(for_training=False, data_shapes=[('data', (1,3,224,224))])
mod.set_params(parameters, auxiliar_parameters)
# Model execution
labels = predict(url, mod, synsets)
https://aws.amazon.com/blogs/compute/seamlessly-scale-predictions-with-aws-lambda-and-mxnet/
Summary
Amazon
S3
Camera
Amazon
DynamoDB
Amazon
EC2 MXNet
Amazon
Rekognition
AWS Lambda
Amazon
EchoAmazon
S3
MRI
Historial Data
Amazon
Polly
MRI Scan
AI Services
AI Platform
AI Engines
Amazon
Rekognition
Amazon
Polly
Amazon
Lex
Amazon
Machine Learning
Amazon Elastic
MapReduce
Spark &
SparkML
Caffe Theano KerasTorch CNTK
Amazon AI: Democratized AI
TensorFlow
P2 ECS Lambda
AWS
Greengrass
FPGAEMR/Spark InfrastructureG2/G3
Apache
MXNet
Thank You !
Alex Coqueiro
Solutions Architecture Team
Public Sector Canada, Latin America & Caribbean
September 20th, 2017
@alexbcbr

More Related Content

What's hot

How TrueCar Gains Actionable Insights with Splunk Cloud PPT
How TrueCar Gains Actionable Insights with Splunk Cloud PPTHow TrueCar Gains Actionable Insights with Splunk Cloud PPT
How TrueCar Gains Actionable Insights with Splunk Cloud PPTAmazon Web Services
 
Database and Analytics on the AWS Cloud - AWS Innovate Toronto
Database and Analytics on the AWS Cloud - AWS Innovate TorontoDatabase and Analytics on the AWS Cloud - AWS Innovate Toronto
Database and Analytics on the AWS Cloud - AWS Innovate TorontoAmazon Web Services
 
How Western Union Implemented Security Measures at Scale on AWS with Dome9
 How Western Union Implemented Security Measures at Scale on AWS with Dome9  How Western Union Implemented Security Measures at Scale on AWS with Dome9
How Western Union Implemented Security Measures at Scale on AWS with Dome9 Amazon Web Services
 
AWS Storage and Data Migration: AWS Innovate Ottawa
AWS Storage and Data Migration: AWS Innovate OttawaAWS Storage and Data Migration: AWS Innovate Ottawa
AWS Storage and Data Migration: AWS Innovate OttawaAmazon Web Services
 
Simplifying migration to aws - everett dolgner
Simplifying migration to aws -   everett dolgnerSimplifying migration to aws -   everett dolgner
Simplifying migration to aws - everett dolgnerAmazon Web Services
 
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
 Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
Getting Started with the Hybrid Cloud: Enterprise Backup and RecoveryAmazon Web Services
 
Amazon DynamoDB - Auto Scaling Webinar - v3.pptx
Amazon DynamoDB - Auto Scaling Webinar - v3.pptxAmazon DynamoDB - Auto Scaling Webinar - v3.pptx
Amazon DynamoDB - Auto Scaling Webinar - v3.pptxAmazon Web Services
 
Amazon EC2 and Amazon VPC Hands-on Workshop
Amazon EC2 and Amazon VPC Hands-on WorkshopAmazon EC2 and Amazon VPC Hands-on Workshop
Amazon EC2 and Amazon VPC Hands-on WorkshopAmazon Web Services
 
Running Microsoft Workloads on AWS
Running Microsoft Workloads on AWSRunning Microsoft Workloads on AWS
Running Microsoft Workloads on AWSAmazon Web Services
 
Automate the Provisioning of Secure Developer Environments on AWS PPT
 Automate the Provisioning of Secure Developer Environments on AWS PPT Automate the Provisioning of Secure Developer Environments on AWS PPT
Automate the Provisioning of Secure Developer Environments on AWS PPTAmazon Web Services
 
Creative content storage in the AWS Cloud
Creative content storage in the AWS CloudCreative content storage in the AWS Cloud
Creative content storage in the AWS CloudAmazon Web Services
 
Building Scalable Immersive Media Solutions on AWS
Building Scalable Immersive Media Solutions on AWSBuilding Scalable Immersive Media Solutions on AWS
Building Scalable Immersive Media Solutions on AWSAmazon Web Services
 
Adding Search to Relational Databases
Adding Search to Relational DatabasesAdding Search to Relational Databases
Adding Search to Relational DatabasesAmazon Web Services
 
Introduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web ServicesIntroduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web ServicesAmazon Web Services
 
What’s New in Amazon RDS for Open-Source and Commercial Databases:
What’s New in Amazon RDS for Open-Source and Commercial Databases: What’s New in Amazon RDS for Open-Source and Commercial Databases:
What’s New in Amazon RDS for Open-Source and Commercial Databases: Amazon Web Services
 
Database and Analytics on the AWS Cloud
Database and Analytics on the AWS CloudDatabase and Analytics on the AWS Cloud
Database and Analytics on the AWS CloudAmazon Web Services
 
Seeing More Clearly: How Essilor Overcame 3 Common Cloud Security Challenges ...
Seeing More Clearly: How Essilor Overcame 3 Common Cloud Security Challenges ...Seeing More Clearly: How Essilor Overcame 3 Common Cloud Security Challenges ...
Seeing More Clearly: How Essilor Overcame 3 Common Cloud Security Challenges ...Amazon Web Services
 

What's hot (20)

How TrueCar Gains Actionable Insights with Splunk Cloud PPT
How TrueCar Gains Actionable Insights with Splunk Cloud PPTHow TrueCar Gains Actionable Insights with Splunk Cloud PPT
How TrueCar Gains Actionable Insights with Splunk Cloud PPT
 
Database and Analytics on the AWS Cloud - AWS Innovate Toronto
Database and Analytics on the AWS Cloud - AWS Innovate TorontoDatabase and Analytics on the AWS Cloud - AWS Innovate Toronto
Database and Analytics on the AWS Cloud - AWS Innovate Toronto
 
How Western Union Implemented Security Measures at Scale on AWS with Dome9
 How Western Union Implemented Security Measures at Scale on AWS with Dome9  How Western Union Implemented Security Measures at Scale on AWS with Dome9
How Western Union Implemented Security Measures at Scale on AWS with Dome9
 
AWS Storage and Data Migration: AWS Innovate Ottawa
AWS Storage and Data Migration: AWS Innovate OttawaAWS Storage and Data Migration: AWS Innovate Ottawa
AWS Storage and Data Migration: AWS Innovate Ottawa
 
Simplifying migration to aws - everett dolgner
Simplifying migration to aws -   everett dolgnerSimplifying migration to aws -   everett dolgner
Simplifying migration to aws - everett dolgner
 
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
 Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
Getting Started with the Hybrid Cloud: Enterprise Backup and Recovery
 
Amazon DynamoDB - Auto Scaling Webinar - v3.pptx
Amazon DynamoDB - Auto Scaling Webinar - v3.pptxAmazon DynamoDB - Auto Scaling Webinar - v3.pptx
Amazon DynamoDB - Auto Scaling Webinar - v3.pptx
 
Amazon EC2 and Amazon VPC Hands-on Workshop
Amazon EC2 and Amazon VPC Hands-on WorkshopAmazon EC2 and Amazon VPC Hands-on Workshop
Amazon EC2 and Amazon VPC Hands-on Workshop
 
Running Microsoft Workloads on AWS
Running Microsoft Workloads on AWSRunning Microsoft Workloads on AWS
Running Microsoft Workloads on AWS
 
Automate the Provisioning of Secure Developer Environments on AWS PPT
 Automate the Provisioning of Secure Developer Environments on AWS PPT Automate the Provisioning of Secure Developer Environments on AWS PPT
Automate the Provisioning of Secure Developer Environments on AWS PPT
 
AWS Loft Dublin Welcome
AWS Loft Dublin WelcomeAWS Loft Dublin Welcome
AWS Loft Dublin Welcome
 
Creative content storage in the AWS Cloud
Creative content storage in the AWS CloudCreative content storage in the AWS Cloud
Creative content storage in the AWS Cloud
 
Building Scalable Immersive Media Solutions on AWS
Building Scalable Immersive Media Solutions on AWSBuilding Scalable Immersive Media Solutions on AWS
Building Scalable Immersive Media Solutions on AWS
 
Adding Search to Relational Databases
Adding Search to Relational DatabasesAdding Search to Relational Databases
Adding Search to Relational Databases
 
State of the Union: Storage
State of the Union: StorageState of the Union: Storage
State of the Union: Storage
 
Cost Optimisation on AWS
Cost Optimisation on AWS Cost Optimisation on AWS
Cost Optimisation on AWS
 
Introduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web ServicesIntroduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web Services
 
What’s New in Amazon RDS for Open-Source and Commercial Databases:
What’s New in Amazon RDS for Open-Source and Commercial Databases: What’s New in Amazon RDS for Open-Source and Commercial Databases:
What’s New in Amazon RDS for Open-Source and Commercial Databases:
 
Database and Analytics on the AWS Cloud
Database and Analytics on the AWS CloudDatabase and Analytics on the AWS Cloud
Database and Analytics on the AWS Cloud
 
Seeing More Clearly: How Essilor Overcame 3 Common Cloud Security Challenges ...
Seeing More Clearly: How Essilor Overcame 3 Common Cloud Security Challenges ...Seeing More Clearly: How Essilor Overcame 3 Common Cloud Security Challenges ...
Seeing More Clearly: How Essilor Overcame 3 Common Cloud Security Challenges ...
 

Similar to Artificial Intelligence on the AWS Cloud - AWS Innovate Ottawa

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 MXNetdelagoya
 
Intro to Scalable Deep Learning on AWS with Apache MXNet
Intro to Scalable Deep Learning on AWS with Apache MXNetIntro to Scalable Deep Learning on AWS with Apache MXNet
Intro to Scalable Deep Learning on AWS with Apache MXNetAmazon Web Services
 
Deep Dive on Deep Learning with MXNet - DevDay Austin 2017
Deep Dive on Deep Learning with MXNet - DevDay Austin 2017Deep Dive on Deep Learning with MXNet - DevDay Austin 2017
Deep Dive on Deep Learning with MXNet - DevDay Austin 2017Amazon Web Services
 
Aran Khanna, Software Engineer, Amazon Web Services at MLconf ATL 2017
Aran Khanna, Software Engineer, Amazon Web Services at MLconf ATL 2017Aran Khanna, Software Engineer, Amazon Web Services at MLconf ATL 2017
Aran Khanna, Software Engineer, Amazon Web Services at MLconf ATL 2017MLconf
 
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 LausanneSunil Mallya
 
Intro to Deep Learning with Tensorflow - DevDay Los Angeles 2017
Intro to Deep Learning with Tensorflow - DevDay Los Angeles 2017Intro to Deep Learning with Tensorflow - DevDay Los Angeles 2017
Intro to Deep Learning with Tensorflow - DevDay Los Angeles 2017Amazon Web Services
 
Tools of Research: Machine Learning | AWS Public Sector Summit 2017
Tools of Research: Machine Learning | AWS Public Sector Summit 2017Tools of Research: Machine Learning | AWS Public Sector Summit 2017
Tools of Research: Machine Learning | AWS Public Sector Summit 2017Amazon Web Services
 
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 CustomersAmazon Web Services
 
AWS re:Invent 2016 recap (part 1)
AWS re:Invent 2016 recap (part 1)AWS re:Invent 2016 recap (part 1)
AWS re:Invent 2016 recap (part 1)Julien SIMON
 
Tomasz Stachlewski, Solutions Architect, Amazon – Artificial Intelligence in ...
Tomasz Stachlewski, Solutions Architect, Amazon – Artificial Intelligence in ...Tomasz Stachlewski, Solutions Architect, Amazon – Artificial Intelligence in ...
Tomasz Stachlewski, Solutions Architect, Amazon – Artificial Intelligence in ...Techsylvania
 
AWS 機器學習 II ─ 深度學習 Deep Learning & MXNet
AWS 機器學習 II ─ 深度學習 Deep Learning & MXNetAWS 機器學習 II ─ 深度學習 Deep Learning & MXNet
AWS 機器學習 II ─ 深度學習 Deep Learning & MXNetAmazon Web Services
 
Scalable Deep Learning on AWS Using Apache MXNet - AWS Summit Tel Aviv 2017
Scalable Deep Learning on AWS Using Apache MXNet - AWS Summit Tel Aviv 2017Scalable Deep Learning on AWS Using Apache MXNet - AWS Summit Tel Aviv 2017
Scalable Deep Learning on AWS Using Apache MXNet - AWS Summit Tel Aviv 2017Amazon Web Services
 
MCL303-Deep Learning with Apache MXNet and Gluon
MCL303-Deep Learning with Apache MXNet and GluonMCL303-Deep Learning with Apache MXNet and Gluon
MCL303-Deep Learning with Apache MXNet and GluonAmazon Web Services
 
아마존의 딥러닝 기술 활용 사례 - 윤석찬 (AWS 테크니컬 에반젤리스트)
아마존의 딥러닝 기술 활용 사례 - 윤석찬 (AWS 테크니컬 에반젤리스트)아마존의 딥러닝 기술 활용 사례 - 윤석찬 (AWS 테크니컬 에반젤리스트)
아마존의 딥러닝 기술 활용 사례 - 윤석찬 (AWS 테크니컬 에반젤리스트)Amazon Web Services Korea
 
An Overview of the AI on the AWS Platform
An Overview of the AI on the AWS PlatformAn Overview of the AI on the AWS Platform
An Overview of the AI on the AWS PlatformAmazon Web Services
 
BDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWSBDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWSAmazon Web Services
 
AWS re:Invent 2017 Recap - Solutions Updates
AWS re:Invent 2017 Recap - Solutions UpdatesAWS re:Invent 2017 Recap - Solutions Updates
AWS re:Invent 2017 Recap - Solutions UpdatesAmazon Web Services
 
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...Channy Yun
 
Integrating Deep Learning into your Enterprise
Integrating Deep Learning into your EnterpriseIntegrating Deep Learning into your Enterprise
Integrating Deep Learning into your EnterpriseAmazon Web Services
 

Similar to Artificial Intelligence on the AWS Cloud - AWS Innovate Ottawa (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
 
Intro to Scalable Deep Learning on AWS with Apache MXNet
Intro to Scalable Deep Learning on AWS with Apache MXNetIntro to Scalable Deep Learning on AWS with Apache MXNet
Intro to Scalable Deep Learning on AWS with Apache MXNet
 
Deep Dive on Deep Learning with MXNet - DevDay Austin 2017
Deep Dive on Deep Learning with MXNet - DevDay Austin 2017Deep Dive on Deep Learning with MXNet - DevDay Austin 2017
Deep Dive on Deep Learning with MXNet - DevDay Austin 2017
 
Aran Khanna, Software Engineer, Amazon Web Services at MLconf ATL 2017
Aran Khanna, Software Engineer, Amazon Web Services at MLconf ATL 2017Aran Khanna, Software Engineer, Amazon Web Services at MLconf ATL 2017
Aran Khanna, Software Engineer, Amazon Web Services at MLconf ATL 2017
 
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
 
Intro to Deep Learning with Tensorflow - DevDay Los Angeles 2017
Intro to Deep Learning with Tensorflow - DevDay Los Angeles 2017Intro to Deep Learning with Tensorflow - DevDay Los Angeles 2017
Intro to Deep Learning with Tensorflow - DevDay Los Angeles 2017
 
Tools of Research: Machine Learning | AWS Public Sector Summit 2017
Tools of Research: Machine Learning | AWS Public Sector Summit 2017Tools of Research: Machine Learning | AWS Public Sector Summit 2017
Tools of Research: Machine Learning | AWS Public Sector Summit 2017
 
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
 
AWS re:Invent 2016 recap (part 1)
AWS re:Invent 2016 recap (part 1)AWS re:Invent 2016 recap (part 1)
AWS re:Invent 2016 recap (part 1)
 
Tomasz Stachlewski, Solutions Architect, Amazon – Artificial Intelligence in ...
Tomasz Stachlewski, Solutions Architect, Amazon – Artificial Intelligence in ...Tomasz Stachlewski, Solutions Architect, Amazon – Artificial Intelligence in ...
Tomasz Stachlewski, Solutions Architect, Amazon – Artificial Intelligence in ...
 
AWS 機器學習 II ─ 深度學習 Deep Learning & MXNet
AWS 機器學習 II ─ 深度學習 Deep Learning & MXNetAWS 機器學習 II ─ 深度學習 Deep Learning & MXNet
AWS 機器學習 II ─ 深度學習 Deep Learning & MXNet
 
Scalable Deep Learning on AWS Using Apache MXNet - AWS Summit Tel Aviv 2017
Scalable Deep Learning on AWS Using Apache MXNet - AWS Summit Tel Aviv 2017Scalable Deep Learning on AWS Using Apache MXNet - AWS Summit Tel Aviv 2017
Scalable Deep Learning on AWS Using Apache MXNet - AWS Summit Tel Aviv 2017
 
MCL303-Deep Learning with Apache MXNet and Gluon
MCL303-Deep Learning with Apache MXNet and GluonMCL303-Deep Learning with Apache MXNet and Gluon
MCL303-Deep Learning with Apache MXNet and Gluon
 
Introduction to AWS tools
Introduction to AWS toolsIntroduction to AWS tools
Introduction to AWS tools
 
아마존의 딥러닝 기술 활용 사례 - 윤석찬 (AWS 테크니컬 에반젤리스트)
아마존의 딥러닝 기술 활용 사례 - 윤석찬 (AWS 테크니컬 에반젤리스트)아마존의 딥러닝 기술 활용 사례 - 윤석찬 (AWS 테크니컬 에반젤리스트)
아마존의 딥러닝 기술 활용 사례 - 윤석찬 (AWS 테크니컬 에반젤리스트)
 
An Overview of the AI on the AWS Platform
An Overview of the AI on the AWS PlatformAn Overview of the AI on the AWS Platform
An Overview of the AI on the AWS Platform
 
BDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWSBDA310 An Introduction to the AI services at AWS
BDA310 An Introduction to the AI services at AWS
 
AWS re:Invent 2017 Recap - Solutions Updates
AWS re:Invent 2017 Recap - Solutions UpdatesAWS re:Invent 2017 Recap - Solutions Updates
AWS re:Invent 2017 Recap - Solutions Updates
 
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...
ICGIS 2018 - Cloud-powered Machine Learnings on Geospactial Services (Channy ...
 
Integrating Deep Learning into your Enterprise
Integrating Deep Learning into your EnterpriseIntegrating Deep Learning into your Enterprise
Integrating Deep Learning into your Enterprise
 

More from Amazon Web Services

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...Amazon Web Services
 
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...Amazon Web Services
 
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 FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
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 Amazon Web Services
 
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...Amazon Web Services
 
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...Amazon Web Services
 
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 WorkloadsAmazon Web Services
 
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 sfatareAmazon Web Services
 
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 NodeJSAmazon Web Services
 
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 webAmazon Web Services
 
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 sfatareAmazon 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 AWSAmazon 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 DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon 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
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from 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
 

Artificial Intelligence on the AWS Cloud - AWS Innovate Ottawa

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Artificial Intelligence on AWS Alex Coqueiro Solutions Architecture Team Public Sector Canada, Latin America & Caribbean September 20th, 2017 @alexbcbr
  • 3. technology which can perform tasks that usually require human intelligence Artificial Intelligence
  • 4.
  • 5. Running AI in Production on AWS
  • 6. How does it work ? Historical Data Model Building Prediction What is my color? And what is mine?
  • 7. … but more data … Less Data More Data Even More Data Linear Models Categorical Models Bayesian Methods Decision Trees Neural Networks Cluster Analysis … More … Kernel Based Methods
  • 8. Intelligent Services Powered By Deep Learning Amazon AI
  • 9. AI Services AI Platform AI Engines Amazon Rekognition Amazon Polly Amazon Lex Amazon Machine Learning Amazon Elastic MapReduce Spark & SparkML Caffe Theano KerasTorch CNTK Amazon AI: Democratized AI TensorFlow P2 ECS Lambda AWS Greengrass FPGAEMR/Spark InfrastructureG2/G3 Apache MXNet
  • 12. Amazon Rekognition Deep learning-based image recognition service Search, verify, and organize millions of images Object and Scene Detection Facial Analysis Face Comparison Facial Recognition
  • 13. Face Comparison Measure the likelihood that faces in two images are of the same person • Add face verification to applications and devices • Extend physical security controls • Provide guest access to VIP-only facilities • Verify users for online exams and polls
  • 14. Amazon Rekognition API var compareParams = { SimilarityThreshold: 90, SourceImage: { ... }, TargetImage: { ... } }}; rekognition.compareFaces(compareParams, function(err, data) { if (err) { console.log(err, err.stack); // an error occurred } else { if (data.FaceMatches.length > 0) { //get item in dynamo console.log("Similarity: " + data.FaceMatches[0].Similarity); dynamodb.getItem(paramsItem, function(err, data) { ... } } });
  • 16.
  • 17. Deep Learning – Neural Network  Output Neural Network Input Hidden layers Computing systems inspired by the biological neural networks which learn to do tasks by considering examples, generally without task-specific programming
  • 18. Deep Learning – Neural Network
  • 19.
  • 20. AWS Deep Learning AMI Up to 40,000 CUDA Cores Frameworks & Libraries Python Notebooks & Examples https://aws.amazon.com/amazon-ai/amis/
  • 21. AWS Instance Type High Memory X1 Compute Optimized C4 Storage Optimized D2 General Purpose M4 FPGA F1 GPU Optimized P2 Graphics Optimized G2 Graphics Optimized G3 Intel Processor Intel Xeon E7- 8880 v3 Custom Intel Xeon E5-2666 v3 Custom Intel Xeon E5-2676 v3 Custom Intel Xeon E5-2676 v3 Intel Xeon E5-2686 v4 Intel Xeon E5-2686 v4 Intel Xeon E5-2670 Intel Xeon E5- 2686 v4 Intel AVX AVX 2.0 AVX 2.0 AVX 2.0 AVX 2.0 Yes Yes Yes Yes Intel AES-NI Yes Yes Yes Yes Yes Yes Yes Yes Intel Turbo Boost Yes Yes Yes Yes Yes Yes Yes Yes Network Performance 25 Gbps 10 Gbps 10 Gbps 25 Gbps 25 Gbps 25 Gbps 10 Gbps 25 Gbps SSD Storage EBS Optimized by default EBS Optimized by default No EBS Optimized by default Yes EBS only Yes EBS only Amazon EC2 Instances with Intel® Technologies
  • 22. Apache MXNet Programmable Portable High Performance Near linear scaling across hundreds of GPUs Highly efficient models for mobile and IoT Simple syntax, multiple languages
  • 23. Frameworks de Deep Learning
  • 24. IMPERATIVE NDARRAY API DECLARATIVE SYMBOLIC EXECUTOR >>> import mxnet as mx >>> a = mx.nd.zeros((100, 50)) >>> b = mx.nd.ones((100, 50)) >>> c = a + b >>> c += 1 >>> print(c) >>> import mxnet as mx >>> net = mx.symbol.Variable('data') >>> net = mx.symbol.FullyConnected(data=net, num_hidden=128) >>> net = mx.symbol.SoftmaxOutput(data=net) >>> texec = mx.module.Module(net) >>> texec.forward(data=c) >>> texec.backward() Mixed Programming Paradigm
  • 26. Amazon Polly: Life-like Speech Service Converts text to life-like speech 47 voices 24 languages Low latency, real time Fully managed
  • 27. TEXT Market grew by > 20%. WORDSPHONEMES { { { { { ˈtwɛn.ti pɚ.ˈsɛnt ˈmɑɹ.kət ˈgɹu baɪ ˈmoʊɹ ˈðæn PROSODY CONTOURUNIT SELECTION AND ADAPTATION TEXT PROCESSING PROSODY MODIFICATIONSTREAMING Market grew by more than twenty percent Speech units inventory
  • 28. Markup language: SSML Speech Synthesis Markup Language is a W3C recommendation, an XML-based markup language for speech synthesis applications <speak> My name is Coqueiro. It is spelled <prosody rate='x-slow'> <say-as interpret-as="characters">Coqueiro</say-as> </prosody> </speak>
  • 29. Converting text to life-like speech # Invoke Polly client polly = Session().client("polly") #Voice synthesize response = polly.synthesize_speech( Text=data, TextType="ssml", OutputFormat="mp3", VoiceId="Vitoria” )
  • 30. Invoking MXNet models # Library Importing import mxnet as mx import numpy as np # Model loading sym, arg_params, aux_params = load_model(f_symbol_file.name, f_params_file.name) # Parameters mod = mx.mod.Module(symbol=sym) mod.bind(for_training=False, data_shapes=[('data', (1,3,224,224))]) mod.set_params(parameters, auxiliar_parameters) # Model execution labels = predict(url, mod, synsets) https://aws.amazon.com/blogs/compute/seamlessly-scale-predictions-with-aws-lambda-and-mxnet/
  • 32. AI Services AI Platform AI Engines Amazon Rekognition Amazon Polly Amazon Lex Amazon Machine Learning Amazon Elastic MapReduce Spark & SparkML Caffe Theano KerasTorch CNTK Amazon AI: Democratized AI TensorFlow P2 ECS Lambda AWS Greengrass FPGAEMR/Spark InfrastructureG2/G3 Apache MXNet
  • 33. Thank You ! Alex Coqueiro Solutions Architecture Team Public Sector Canada, Latin America & Caribbean September 20th, 2017 @alexbcbr