5. Will the device fail in 2
weeks, 4 weeks or will
not fail during this time?
Use Case
When will the device
break?
Will the device fail in the
next 2 weeks?
7. Big Data 4Vs
• Untrusted
• Uncleansed
• Speed of
generation
• Rate of analysis
• Unstructured
• Semi-structured
• Structured
• Click stream
• Active/passive sensors
• Logs
• Events
• Speech
• Social media
• Traditional
Volume Variety
VeracityVelocity
8. Big Data & Azure
Intelligence
Dashboards &
Visualizations
Information
Management
Big Data Stores Machine Learning
and Analytics
CortanaEvent Hub
HDInsight
(Hadoop and
Spark)
Stream Analytics
Data
Sources
Apps
Sensors
and
devices
Data Intelligence Action
People
Automated
Systems
Apps
Web
Mobile
Bots
Bot
Framework
SQL Data
WarehouseData Catalog
Data Lake
Analytics
Data Factory
Machine Learning
Data Lake Store
Blob Store
Cognitive Services
Power BI
41. Stream Analytics – Source and Sink
SELECT
DeviceId, result.ScoredLabels,
cycle, seeting1, …, s1, …, s21,
a1, …, a21, sd1, …, sd21
INTO maintenance
FROM predict
42.
43. Aggregation in Stream Analytics
SELECT avg(s1) as a1
FROM CallStream
GROUP BY id
, TumblingWindow(minute, 1)
TIMESTAMP BY T
44. Stream Analytics – Aggregations
WITH aggregate AS (
SELECT
id,
avg(s1) AS a1, …, avg(s21) AS a21,
stdev(s1) AS sd1, …, stdev(s21) AS sd21
FROM CallStream AS s
GROUP BY id, TumblingWindow(minute, 1)
)
45. Join in Stream Analytics
SELECT c.s1, a.a1
FROM CallStream c
JOIN aggregate a
ON c.id = a.id
and DATEDIFF(minute, c, a)
BETWEEN 0 and 1
46. Stream Analytics – Join aggregations
WITH predict AS (
SELECT
s.id, s.cycle, s.seeting1, …, s.s1, …, s.s21,
a.a1, …, a.a21, a.sd1, …, a.sd21,
predmain(s.cycle, s.seeting1, …, s.s1, …, s.s21,
a.a1, …, a.a21, a.sd1, …, a.sd21) AS result
FROM CallStream AS s
join aggregate AS a
ON s.id = a.id
AND DATEDIFF(minute, s, a) BETWEEN 0 AND 1
)
52. Scaling web
services
• Azure Classic Portal
• 20-200 concurrent requests
• Azure ML optimization
• Multiple endpoints for the
same web service
• New web services
• Production web services
• Pricing Plans
• 1,000 – 50,000,000 request
per month