AI NEXTCon Seattle ‘18
1/17-20th | Seattle
#ainextcon
http://aisea18.xnextcon.com
Machine
Learning in the
Physical World
Kip Larson
Principal Product Manager
AWS IoT Analytics
• Analytics in IoT
• Introducing AWS IoT Analytics
• AWS IoT Analytics Components
• ML Across IoT Fleets
• LSTM for IoT
What to expect from this session
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Devices
Sense & Act
Cloud
Storage & Compute
Intelligence
Insights & Logic → Action
Three pillars of IoT
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Why is AWS IoT Analytics important?
Industrial
automation
Improved product
design
Optimized business
processes
Improved user experience
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Analytics within AWS IoT
Devices Cloud
Greengrass
Rules Engine
AWS
Amazon
Redshift
a:FreeRTOS
Amazon Kinesis
Collect
Preprocess &
Enrich
Store
Analyze
Visualize
Corp Apps
Corp Data Center
Enterprise Applications
&
Non-IoT Data
Contextual
Data
Intelligence
Device shadow
Message Broker
Device Gateway
Device Registry
AWS IoT AnalyticsAWS IoT Core
Introducing
AWS IoT Analytics
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analytics
IoT Analytics is a fully managed IoT analytics service
that collects, preprocesses, enriches, stores, analyzes,
and visualizes IoT device data at scale.
From raw
sensor data to
sophisticated
IoT analytics
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analytics requirements
High volume of
data
Clean data Contextual
information
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Challenges with AWS IoT data and analytics
High volume Multiple sources Noisy and no standard
format
Incomplete and no
contextual information
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What customers are asking for
Business relevant
reporting
Preprocessing
unstructured, noisy data
Data collection from
multiple sources
Time series data storageAdvanced analytics
and machine learning
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
From AWS IoT data to sophisticated analytics
Thing	Registry
Log	InkLevel
Queue	SQS
Ink	Level	
CloudWatch Log
Job	History	Tables	
DynamoDB
deviceID/usage/
inklevels
Forward	Ink	
Levels	Rule
Low	Ink	Test
Queue	SQS
Log	Ink	Remaining	
Lambda	Worker
Alarm	State
Worker	Lambda
Send	Mobile	
App	Alert
deviceID/events/
consumables Ink	Replace	Rule
Device	Enricher
Worker	Lambda
deviceID/events/jobs
Send	Ink	Alarm
Queue	SQS Notifier Lambda
Low	Ink	Alarm
Queue	SQS
Log	Job
Queue	SQS
Log	Job	Lambda	
Worker
Job	Ink	Process
Queue	SQS
Job	Calculation	
Lambda	Worker
Job	Alarm	Threshold	
Lambda	Worker
Print	Job	
Raw	Data	
Storage
Lambda	
Logging
2
2
21
3 3
4 4
Ink	Level	Remaining
CloudWatch Alarm
5 5 8
8
4
Sales	Cloud
SFDC	Customer,	
Ink	Order	Table	&	
Promotions	Table
6
7
7
5
6
Low	Ink	Test	
Lambda	Worker
Check	Ink	
Threshold
9
9
deviceID/inbound/
inkrefill
SFDC	Ingest	
Firehouse
10
11 11
9
12
19
14
14
18
Print	Job	Error
13 13
Device	Enricher
Worker	Lambda
Thing	Registry
16
14
15 15
14
16
16
17
17 17
20
20
21
21
deviceID/*/*
Backup	Rule
Job	History	&	
Ink	Level	APIs
Enrich	Job
Queue	SQS
Enrich	Job
Lambda	Worker
Job	Alarm
Queue	SQS
Job	Entry	Completion
Lambda
19
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analytics overview
Create IoT data Collect Preprocess &
enrich
Store Analyze & visualize
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analytics components
DatasetsPipelines
Collect Preprocess
& enrich
Store Analyze & visualize,
machine learning
Channels Datastores Notebooks & Amazon QuickSight
QueryCreate IoT data
Operational and
business
applications
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT Analytics: Collect via channels
• Entry point to AWS IoT Analytics
• Native integration with AWS IoT Core
• Authoritative store of raw data from devices
• Built-in micro-batching partitioning by date
• Supports both binary and JSON data
MQTT
Amazon
Kinesis
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT Analytics: Preprocess & enrich
via pipelines
• AWS IoT specific device data preparation
pipeline
• Consumes raw data from a Channel and sends
processed data to a datastore
• Set of activities for filtering/transforming/
contextualizing messages
• Works best with JSON data
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analytics: Pipeline activities
• Consume from a channel
• Send to a datastore
• Invoke AWS Lambda
• Add/remove/select attributes
• Apply regex
• Filter messages
• Validate messages
• Evaluate math expression
• Enrich from MQTT topic
• Enrich from AWS IoT device registry
• Enrich from AWS IoT device shadow
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analytics: Store via datastores
• Store optimized for analytical & time series
queries against processed data
• Is not a database, but an abstraction on top of
several database technologies
• Works on semistructured JSON data
• Partitioned by time
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analytics: Analyze via datasets
• Result of analysis against data store
• Run on schedule or ad hoc
• Conceptually similar to materialized view
• Accessible from the console/API/Jupyter
Notebooks/Amazon QuickSight
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analytics: Powerful analytical
notebooks
• Jupyter-based machine learning notebooks (using
Amazon SageMaker)
• Integration with existing AWS IoT Analytics
datasets
• Built-in templates for predictive maintenance and
other IoT-specific use cases
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS IoT Analytics: Visualize
via Amazon QuickSight
• Native integration with Amazon
QuickSight
• Makes it easy to build visualizations,
perform ad-hoc analysis, and get business
insights.
ML Across IoT Fleets
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
IoT Fleet Problem Space
Fleets come in two classes: Consumer and Industrial
Consumer
Homogeneous,
non-interactive fleets
Industrial
Heterogeneous,
interacting fleets
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ML Mission Types in an IoT Context
• Missions have different levels of granularity across fleet types
• Business loss functions vary
• Some missions are fleet type-specific
Segmentation
“What do they have
in common?”
Survival Analysis
“How much longer till
it breaks?”
Classifiers
“Is it broken?”
Forecasting
“How much will
it produce?”
Optimization
“Can we improve
the way it works?”
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ML IoT Model Development
• Learn across the fleet, deploy to the device
• Model may be deployed in the cloud or on the device
• Opportunity to retrain may be limited, opportunity to
update covariates may be limited
• Almost always time series data
• Often multivariate
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Obvious Approaches Don’t Always Work
For business process forecasting (e.g. customer demand) we often deploy seasonalized time series
models, such as SARIMAX
𝑦"# = 𝜇 + 𝜑( 𝑦")( + 𝜑* 𝑦")* + ⋯ 𝜑, 𝑦"), + 𝜃( 𝜀")( + 𝜃* 𝜀")* + ⋯ 𝜃, 𝜀"), + Φ( 𝑦")0 + Θ( 𝜀")0 + 𝜉( 𝑥" + 𝜀"
IoT data often creates problems for these models:
Seasonal component
may exhibit epicycles
Data usually has
gaps
Seasonal component
may be evolving
Relevance of regressors may be
conditionally-relevant
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
LSTM-based approaches
• Long Short-Term Memory networks show promise in
forecasting time series device telemetry
• Seasonal epicycles accommodated more easily than
SARIMA-style lag operations (needs data and hyper-
parameter optimization)
• Forget-gates useful for noise management
• Fewer cold-start problems
• Gap tolerant
• Areas of exploration: companion devices as inputs
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
After Model Training, now what?
Train in SageMaker
or Lambda
GreenGrass ML
on the edge
Automatically trigger
in IoT Analytics
Action in the cloud
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Get started with
AWS IoT Analytics
aws.amazon.com/iot-analytics
Thank you!
Interested in joining our team?
Message us at AWS-IoT-Analytics-Careers@amazon.com

More Related Content

PDF
Cloud Native Data Pipelines
PDF
Deep learning at supercomputing scale by Rangan Sukumar from Cray
PDF
Machine learning at scale by Amy Unruh from Google
PDF
AWS Re:Invent 2019 Re:Cap
PDF
Smokey and the Multi-Armed Bandit Featuring BERT Reynolds Updated
PDF
Tensorflow in production with AWS Lambda
PDF
Introduction to Google Cloud Platform
PDF
Apache Superset at Airbnb
Cloud Native Data Pipelines
Deep learning at supercomputing scale by Rangan Sukumar from Cray
Machine learning at scale by Amy Unruh from Google
AWS Re:Invent 2019 Re:Cap
Smokey and the Multi-Armed Bandit Featuring BERT Reynolds Updated
Tensorflow in production with AWS Lambda
Introduction to Google Cloud Platform
Apache Superset at Airbnb

What's hot (17)

PDF
A Tour of Google Cloud Platform
PDF
AWS Cloud for HPC and Big Data
PPTX
Autoscaling in Kubernetes
PDF
Serverless with IAC - terraform과 cloudformation 비교
PDF
Feedback on AWS re:invent 2016
PDF
Autoscaling in kubernetes v1
PPTX
Machine learning at scale with aws sage maker
PDF
Low Latency Fraud Detection & Prevention
PDF
Ml 3 ways
PDF
Amazon EKS - Aws community day bengaluru 2019
PDF
DevOpsDaysRiga 2018: Serhat Can - The Rocky Path to Migrating Production Appl...
PPTX
Autoscaling on Kubernetes
PDF
Waking the Data Scientist at 2am: Detect Model Degradation on Production Mod...
PPTX
20171122 aws usergrp_coretech-spn-cicd-aws-v01
PPTX
Achieve big data analytic platform with lambda architecture on cloud
PDF
The Art of Decomposing Monoliths - Kfir Bloch, Wix
PPTX
New AWS Services for Bioinformatics
A Tour of Google Cloud Platform
AWS Cloud for HPC and Big Data
Autoscaling in Kubernetes
Serverless with IAC - terraform과 cloudformation 비교
Feedback on AWS re:invent 2016
Autoscaling in kubernetes v1
Machine learning at scale with aws sage maker
Low Latency Fraud Detection & Prevention
Ml 3 ways
Amazon EKS - Aws community day bengaluru 2019
DevOpsDaysRiga 2018: Serhat Can - The Rocky Path to Migrating Production Appl...
Autoscaling on Kubernetes
Waking the Data Scientist at 2am: Detect Model Degradation on Production Mod...
20171122 aws usergrp_coretech-spn-cicd-aws-v01
Achieve big data analytic platform with lambda architecture on cloud
The Art of Decomposing Monoliths - Kfir Bloch, Wix
New AWS Services for Bioinformatics
Ad

Similar to Machine learning in the physical world by Kip Larson from AWS IoT (8)

PPTX
Breaking down an Industrial IoT reference architecture.pptx
PDF
Confluent_AWS_ImmersionDay_Q42023.pdf
PDF
Build real-time streaming data pipelines to AWS with Confluent
PDF
Aws Tools for Alexa Skills
PDF
How to Architect a Serverless Cloud Data Lake for Enhanced Data Analytics
PPTX
AWS IoT: From Testing to Scaling
PPTX
The Cloud - What's different
PDF
Module 3 - QuickSight Overview
Breaking down an Industrial IoT reference architecture.pptx
Confluent_AWS_ImmersionDay_Q42023.pdf
Build real-time streaming data pipelines to AWS with Confluent
Aws Tools for Alexa Skills
How to Architect a Serverless Cloud Data Lake for Enhanced Data Analytics
AWS IoT: From Testing to Scaling
The Cloud - What's different
Module 3 - QuickSight Overview
Ad

More from Bill Liu (20)

PDF
Walk Through a Real World ML Production Project
PDF
Redefining MLOps with Model Deployment, Management and Observability in Produ...
PDF
Productizing Machine Learning at the Edge
PPTX
Transformers in Vision: From Zero to Hero
PDF
Deep AutoViML For Tensorflow Models and MLOps Workflows
PDF
Metaflow: The ML Infrastructure at Netflix
PDF
Practical Crowdsourcing for ML at Scale
PDF
Building large scale transactional data lake using apache hudi
PDF
Deep Reinforcement Learning and Its Applications
PDF
Big Data and AI in Fighting Against COVID-19
PDF
Highly-scalable Reinforcement Learning RLlib for Real-world Applications
PDF
Build computer vision models to perform object detection and classification w...
PDF
Causal Inference in Data Science and Machine Learning
PDF
Weekly #106: Deep Learning on Mobile
PDF
Weekly #105: AutoViz and Auto_ViML Visualization and Machine Learning
PDF
AISF19 - On Blending Machine Learning with Microeconomics
PDF
AISF19 - Travel in the AI-First World
PDF
AISF19 - Unleash Computer Vision at the Edge
PDF
AISF19 - Building Scalable, Kubernetes-Native ML/AI Pipelines with TFX, KubeF...
PDF
Toronto meetup 20190917
Walk Through a Real World ML Production Project
Redefining MLOps with Model Deployment, Management and Observability in Produ...
Productizing Machine Learning at the Edge
Transformers in Vision: From Zero to Hero
Deep AutoViML For Tensorflow Models and MLOps Workflows
Metaflow: The ML Infrastructure at Netflix
Practical Crowdsourcing for ML at Scale
Building large scale transactional data lake using apache hudi
Deep Reinforcement Learning and Its Applications
Big Data and AI in Fighting Against COVID-19
Highly-scalable Reinforcement Learning RLlib for Real-world Applications
Build computer vision models to perform object detection and classification w...
Causal Inference in Data Science and Machine Learning
Weekly #106: Deep Learning on Mobile
Weekly #105: AutoViz and Auto_ViML Visualization and Machine Learning
AISF19 - On Blending Machine Learning with Microeconomics
AISF19 - Travel in the AI-First World
AISF19 - Unleash Computer Vision at the Edge
AISF19 - Building Scalable, Kubernetes-Native ML/AI Pipelines with TFX, KubeF...
Toronto meetup 20190917

Recently uploaded (20)

PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PPTX
MuleSoft-Compete-Deck for midddleware integrations
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
Human Computer Interaction Miterm Lesson
PPTX
Internet of Everything -Basic concepts details
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PPTX
SGT Report The Beast Plan and Cyberphysical Systems of Control
PDF
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PDF
LMS bot: enhanced learning management systems for improved student learning e...
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
Ensemble model-based arrhythmia classification with local interpretable model...
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
MuleSoft-Compete-Deck for midddleware integrations
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
Human Computer Interaction Miterm Lesson
Internet of Everything -Basic concepts details
Co-training pseudo-labeling for text classification with support vector machi...
SGT Report The Beast Plan and Cyberphysical Systems of Control
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
Connector Corner: Transform Unstructured Documents with Agentic Automation
LMS bot: enhanced learning management systems for improved student learning e...
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
Ensemble model-based arrhythmia classification with local interpretable model...
Introduction to MCP and A2A Protocols: Enabling Agent Communication
4 layer Arch & Reference Arch of IoT.pdf
IT-ITes Industry bjjbnkmkhkhknbmhkhmjhjkhj
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
Rapid Prototyping: A lecture on prototyping techniques for interface design
“The Future of Visual AI: Efficient Multimodal Intelligence,” a Keynote Prese...
Build Real-Time ML Apps with Python, Feast & NoSQL
Aug23rd - Mulesoft Community Workshop - Hyd, India.pdf

Machine learning in the physical world by Kip Larson from AWS IoT

  • 1. AI NEXTCon Seattle ‘18 1/17-20th | Seattle #ainextcon http://aisea18.xnextcon.com
  • 2. Machine Learning in the Physical World Kip Larson Principal Product Manager AWS IoT Analytics
  • 3. • Analytics in IoT • Introducing AWS IoT Analytics • AWS IoT Analytics Components • ML Across IoT Fleets • LSTM for IoT What to expect from this session
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Devices Sense & Act Cloud Storage & Compute Intelligence Insights & Logic → Action Three pillars of IoT
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Why is AWS IoT Analytics important? Industrial automation Improved product design Optimized business processes Improved user experience
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Analytics within AWS IoT Devices Cloud Greengrass Rules Engine AWS Amazon Redshift a:FreeRTOS Amazon Kinesis Collect Preprocess & Enrich Store Analyze Visualize Corp Apps Corp Data Center Enterprise Applications & Non-IoT Data Contextual Data Intelligence Device shadow Message Broker Device Gateway Device Registry AWS IoT AnalyticsAWS IoT Core
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Analytics IoT Analytics is a fully managed IoT analytics service that collects, preprocesses, enriches, stores, analyzes, and visualizes IoT device data at scale. From raw sensor data to sophisticated IoT analytics
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Analytics requirements High volume of data Clean data Contextual information
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Challenges with AWS IoT data and analytics High volume Multiple sources Noisy and no standard format Incomplete and no contextual information
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What customers are asking for Business relevant reporting Preprocessing unstructured, noisy data Data collection from multiple sources Time series data storageAdvanced analytics and machine learning
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. From AWS IoT data to sophisticated analytics Thing Registry Log InkLevel Queue SQS Ink Level CloudWatch Log Job History Tables DynamoDB deviceID/usage/ inklevels Forward Ink Levels Rule Low Ink Test Queue SQS Log Ink Remaining Lambda Worker Alarm State Worker Lambda Send Mobile App Alert deviceID/events/ consumables Ink Replace Rule Device Enricher Worker Lambda deviceID/events/jobs Send Ink Alarm Queue SQS Notifier Lambda Low Ink Alarm Queue SQS Log Job Queue SQS Log Job Lambda Worker Job Ink Process Queue SQS Job Calculation Lambda Worker Job Alarm Threshold Lambda Worker Print Job Raw Data Storage Lambda Logging 2 2 21 3 3 4 4 Ink Level Remaining CloudWatch Alarm 5 5 8 8 4 Sales Cloud SFDC Customer, Ink Order Table & Promotions Table 6 7 7 5 6 Low Ink Test Lambda Worker Check Ink Threshold 9 9 deviceID/inbound/ inkrefill SFDC Ingest Firehouse 10 11 11 9 12 19 14 14 18 Print Job Error 13 13 Device Enricher Worker Lambda Thing Registry 16 14 15 15 14 16 16 17 17 17 20 20 21 21 deviceID/*/* Backup Rule Job History & Ink Level APIs Enrich Job Queue SQS Enrich Job Lambda Worker Job Alarm Queue SQS Job Entry Completion Lambda 19
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Analytics overview Create IoT data Collect Preprocess & enrich Store Analyze & visualize
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Analytics components DatasetsPipelines Collect Preprocess & enrich Store Analyze & visualize, machine learning Channels Datastores Notebooks & Amazon QuickSight QueryCreate IoT data Operational and business applications
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT Analytics: Collect via channels • Entry point to AWS IoT Analytics • Native integration with AWS IoT Core • Authoritative store of raw data from devices • Built-in micro-batching partitioning by date • Supports both binary and JSON data MQTT Amazon Kinesis
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT Analytics: Preprocess & enrich via pipelines • AWS IoT specific device data preparation pipeline • Consumes raw data from a Channel and sends processed data to a datastore • Set of activities for filtering/transforming/ contextualizing messages • Works best with JSON data
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Analytics: Pipeline activities • Consume from a channel • Send to a datastore • Invoke AWS Lambda • Add/remove/select attributes • Apply regex • Filter messages • Validate messages • Evaluate math expression • Enrich from MQTT topic • Enrich from AWS IoT device registry • Enrich from AWS IoT device shadow
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Analytics: Store via datastores • Store optimized for analytical & time series queries against processed data • Is not a database, but an abstraction on top of several database technologies • Works on semistructured JSON data • Partitioned by time
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Analytics: Analyze via datasets • Result of analysis against data store • Run on schedule or ad hoc • Conceptually similar to materialized view • Accessible from the console/API/Jupyter Notebooks/Amazon QuickSight
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Analytics: Powerful analytical notebooks • Jupyter-based machine learning notebooks (using Amazon SageMaker) • Integration with existing AWS IoT Analytics datasets • Built-in templates for predictive maintenance and other IoT-specific use cases
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS IoT Analytics: Visualize via Amazon QuickSight • Native integration with Amazon QuickSight • Makes it easy to build visualizations, perform ad-hoc analysis, and get business insights.
  • 22. ML Across IoT Fleets
  • 23. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. IoT Fleet Problem Space Fleets come in two classes: Consumer and Industrial Consumer Homogeneous, non-interactive fleets Industrial Heterogeneous, interacting fleets
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ML Mission Types in an IoT Context • Missions have different levels of granularity across fleet types • Business loss functions vary • Some missions are fleet type-specific Segmentation “What do they have in common?” Survival Analysis “How much longer till it breaks?” Classifiers “Is it broken?” Forecasting “How much will it produce?” Optimization “Can we improve the way it works?”
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ML IoT Model Development • Learn across the fleet, deploy to the device • Model may be deployed in the cloud or on the device • Opportunity to retrain may be limited, opportunity to update covariates may be limited • Almost always time series data • Often multivariate
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Obvious Approaches Don’t Always Work For business process forecasting (e.g. customer demand) we often deploy seasonalized time series models, such as SARIMAX 𝑦"# = 𝜇 + 𝜑( 𝑦")( + 𝜑* 𝑦")* + ⋯ 𝜑, 𝑦"), + 𝜃( 𝜀")( + 𝜃* 𝜀")* + ⋯ 𝜃, 𝜀"), + Φ( 𝑦")0 + Θ( 𝜀")0 + 𝜉( 𝑥" + 𝜀" IoT data often creates problems for these models: Seasonal component may exhibit epicycles Data usually has gaps Seasonal component may be evolving Relevance of regressors may be conditionally-relevant
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. LSTM-based approaches • Long Short-Term Memory networks show promise in forecasting time series device telemetry • Seasonal epicycles accommodated more easily than SARIMA-style lag operations (needs data and hyper- parameter optimization) • Forget-gates useful for noise management • Fewer cold-start problems • Gap tolerant • Areas of exploration: companion devices as inputs
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. After Model Training, now what? Train in SageMaker or Lambda GreenGrass ML on the edge Automatically trigger in IoT Analytics Action in the cloud
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Get started with AWS IoT Analytics aws.amazon.com/iot-analytics
  • 30. Thank you! Interested in joining our team? Message us at [email protected]