Internet of Things is creating a tidal wave of new data including events, correlations, business value, and much more. With the proliferation of new data sets, it also introduces more potential issues, errors, and spurious values.
In this session, we will explore using Amazon Machine Learning to analyse and understand the new data collected within your IoT solution. In addition, we will learn how to discover patterns, trends, anomalies, and correlations by demonstrating the capabilities of Amazon Machine Learning and SparkML running on AWS Cloud.
Speaker: Simon Elisha, Solutions Architect, Amazon Web Services
2. What We’ll Cover Today
• Overview of AWS IoT and Amazon Machine Learning
• Anomaly Detection – What? Why? How?
• How to Build an IoT Solution using Machine Learning
based Anomaly Detection
3. AWS IoT
Securely connect one or one billion devices to AWS,
so they can interact with applications and other devices
8. Amazon Machine Learning
Based on What You
Know about an Order:
Is this Order
Fraudulent?
Based on What You
Know about the User:
Will they Use Your
Product?
9. Amazon Machine Learning
Based on What You Know
about a News Article:
What Other Articles are
Interesting?
Based on What You
Know about an Order:
Is this Order
Fraudulent?
Based on What You
Know about the User:
Will they Use Your
Product?
18. Behaviour Modes
• Entering Road
• Exiting Road
• Driving Between Intersections
• Stopped at Lights
• Waiting for Clear Path to Turn
• Waiting for Pedestrian
• Parking at Kerb
19. Unexpected Behaviours
• Car off Road
• Cars Stopped for Long Periods
• Erratic Driving
• More Traffic or More Messages than Expected
20. Supervised Machine Learning
The model is trained using historical data (or observations)
that are labeled with accurate answers for the problem
under analysis.
lat long elev vel heading activity
33.63078996 153.2408174 65.962 14.6 88.1 driving
33.61899274 153.4826805 64.732 0.6 163.8 parking
33.67753203 153.2248169 67.682 1.58 321.4 entering
33.10896801 153.0650639 61.006 27.52 145.9 driving
33.91719004 153.952396 53.305 0.0 60.0 at_lights
33.08905011 153.7517515 64.59 0.05 122.9 waiting
33.44729954 153.8196027 48.619 22.02 349.6 driving
exiting
Target
column
24. How Do We Build The Training Data?
lat long elev vel heading activity
33.63078996 153.2408174 65.962 14.6 88.1 ?
33.61899274 153.4826805 64.732 0.6 163.8 ?
33.67753203 153.2248169 67.682 1.58 321.4 ?
33.10896801 153.0650639 61.006 27.52 145.9 ?
33.91719004 153.952396 53.305 0.0 60.0 ?
33.08905011 153.7517515 64.59 0.05 122.9 ?
33.44729954 153.8196027 48.619 22.02 349.6 ?
33.85352192 153.4845429 48.265 5.49 251.1 ?
... … … … ... …
25. Trivial to get the data
RULES ENGINE
iotTrafficApp
SELECT * FROM ’myiotapp/cars'
"actions":
[{
”s3": {
”bucketName": ”iotTrafficApp",
“key” : “car-data/${timestamp()}”
"roleArn":"arn:aws:iam:…:role/aws_iot_s3”
}
}]
34. Building Secure Applications: A Reminder
def updateCar(id, data):
assert ID_re.matches(id)
assert isinstance(data.ma
assert isinstance(data.mo
35. Six Steps to Getting it Done
Cluster Analysis Build Predictive Model Run Predictions
Handle Critical Risks Assess Anomalies Iterate
driving: 0.007642,
parking: 0.908068,
exiting: 0.00581
33.6189 153.482 64.732 0.6 163.8
36. AWS Training & Certification
Intro Videos & Labs
Free videos and labs to
help you learn to work
with 30+ AWS services
– in minutes!
Training Classes
In-person and online
courses to build
technical skills –
taught by accredited
AWS instructors
Online Labs
Practice working with
AWS services in live
environment –
Learn how related
services work
together
AWS Certification
Validate technical
skills and expertise -
identify qualified IT
talent or show you
are AWS cloud ready
Learn more: aws.amazon.com/training
37. Your Training Next Steps:
ü Visit the AWS Training & Certification pod to discuss your
training plan & AWS Summit training offer
ü Register & attend AWS instructor led training
ü Get Certified
AWS Certified? Visit the AWS Summit Certification Lounge to pick up your swag
Learn more: aws.amazon.com/training