Deep Dive Time Series Anomaly Detection in Azure with dotnet

Marco Parenzan
Marco ParenzanSenior Solutions Architect @ beanTech, Microsoft MVP
DATA SATURDAY #10
Sofia, Oct 09th
Deep Dive Time Series Anomaly
Detection with different Azure
data services
Marco Parenzan
Marco Parenzan
• Senion Solution Architect @ beanTech
• 1nn0va Community Lead (Pordenone)
• Microsoft Azure MVP
• Profiles
o Linkedin: https://www.linkedin.com/in/marcoparenzan/
o Slideshare: https://www.slideshare.net/marco.parenzan
o GitHub: https://github.com/marcoparenzan
This is the journey of…
• …a .NET developer…
• …or an IoT developer…
• …a one-man band (sometimes )…
• …facing typical data science world topics…
• …that wants to use .NET everywhere!
Thanks to our Sponsors
A typical scenario
Scenario
• In an industrial fridge, you monitor temperatures to check not the
temperature «per se», but to check the healthy of the plant
From real industrial fridges 
With no any specific request...
what is IoT all about?
Efficiency Anomalies
Batch Streaming
Storage
Account
IoT Hub
Devices
Events
Ingest
The batch point of view...
How can we implement
processing?
Ingest Process
Storage
Account
Azure
IoT Hub-Related
Services
Devices
Events
?
We explore some of them,
probably the most Microsoft and Azure oriented
But….
I’m not a data scientist!
Or a BI Analyst!
I’m a .NET Developer!
Make me think and work as a Data
Scientist!
A (very little) bit of theory
for Anomaly Detection
in Time Series
Threshold anomalies?
• Threshold alarms are not enough
o Anomalies cannot be just «over a threshold for
some time»...
o Condenser or Evaporator with difficulties starting
o Distinguish from Opening a door (that is also an
anomaly)
o Or also counting the number of times that there
are peaks (too many times)
• You can considering each of these
events as anomalies that alter the
temperature you measure in
different part of the fridge
Anomaly Detection
• Anomaly detection is the process of identifying unexpected items or events in
data sets, which differ from the norm.
• And anomaly detection is often applied on unlabeled data which is known as
unsupervised anomaly detection.
• Anomaly is not just a matter of time and scalar values. It can also be a matter
of visual anomalies!
Time Series
o Trend
• is a general direction in which something is
developing or changing. A trend can be
upward(uptrend) or downward(downtrend).
It is not always necessary that the increase or
decrease is consistently in the same direction
in a given period.
o Seasonality
• Predictable pattern that recurs or repeats
over regular intervals. Seasonality is often
observed within a year or less.
o Irregular fluctuation
• These are variations that occur due to
sudden causes and are unpredictable. For
example the rise in prices of food due to war,
flood, earthquakes, farmers striking etc.
• Definition
o Time series is a sequence of data points recorded
in time order, often taken at successive equally
paced points in time.
• Examples
o Stock prices, Sales demand, website traffic, daily
temperatures, quarterly sales
• Time series is different from
regression analysis because of its
time-dependent nature.
Anomaly Detection in Time Series
• In time series data, an anomaly or outlier can be termed as a data point
which is not following the common collective trend or seasonal or cyclic
pattern of the entire data and is significantly distinct from rest of the data. By
significant, most data scientists mean statistical significance, which in order
words, signify that the statistical properties of the data point is not in
alignment with the rest of the series.
• Anomaly detection has two basic assumptions:
o Anomalies only occur very rarely in the data.
o Their features differ from the normal instances significantly.
Classic ML Process
Helping no-data scientits developers (all! )
• Unsupervised Machine
LearningNo labelling
• Automated Training Set for
Anomaly Detection Algorithms
• the algorithms automatically
generates a simulated training set
based non your input data
• Auto(mated) MLfind the best
tuning for you with parameters
and algorithms
https://docs.microsoft.com/en-us/azure/machine-learning/algorithm-cheat-sheet
Spectrum Residual Cnn (SrCnn)
• To monitor the time-series continuously and alert for potential incidents on time
• The algorithm first computes the Fourier Transform of the original data. Then it computes
the spectral residual of the log amplitude of the transformed signal before applying the
Inverse Fourier Transform to map the sequence back from the frequency to the time domain.
This sequence is called the saliency map. The anomaly score is then computed as the relative
difference between the saliency map values and their moving averages. If the score is above
a threshold, the value at a specific timestep is flagged as an outlier.
• There are several parameters for SR algorithm. To obtain a model with good performance, we
suggest to tune windowSize and threshold at first, these are the most important parameters
to SR. Then you could search for an appropriate judgementWindowSize which is no larger
than windowSize. And for the remaining parameters, you could use the default value directly.
• Time-Series Anomaly Detection Service at Microsoft [https://arxiv.org/pdf/1906.03821.pdf]
Data Science for the .NET developer
Data Science and AI for the .NET developer
• ML.NET is first and foremost a framework that you can use to
create your own custom ML models. This custom approach
contrasts with “pre-built AI,” where you use pre-designed general
AI services from the cloud (like many of the offerings from Azure
Cognitive Services). This can work great for many scenarios, but
it might not always fit your specific business needs due to the
nature of the machine learning problem or to the deployment
context (cloud vs. on-premises).
• ML.NET enables developers to use their existing .NET skills to
easily integrate machine learning into almost any .NET
application. This means that if C# (or F# or VB) is your
programming language of choice, you no longer have to learn a
new programming language, like Python or R, in order to
develop your own ML models and infuse custom machine
learning into your .NET apps.
ML.NET Components
Anomaly Detection
Some tools required
• .NET 5 + WPF + ML.NET
• Mandatory , the platform where we try to make experiments
• Xplot.Ploty (soon you will understand I use this) https://fslab.org/XPlot/
• XPlot is a cross-platform data visualization package for the F# programming language
powered by popular JavaScript charting libraries Plotly and Google Charts. The library
provides a complete mapping for the configuration options of the underlying libraries and so
you get a nice F# interface that gives you access to the full power of Plotly and Google
Charts. The XPlot library can be used interactively from F# Interactive, but charts can equally
easy be embedded in F# applications and in HTML reports.
• WebView2 https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/wpf
• The Microsoft Edge WebView2 control enables you to embed web technologies (HTML, CSS,
and JavaScript) in your native apps. The WebView2 control uses Microsoft Edge (Chromium)
as the rendering engine to display the web content in native apps. With WebView2, you may
embed web code in different parts of your native app. Build all of the native app within a
single WebView instance.
Experimenting with .NET and WPF
How Data Scientists work
Batch vs. Notebooks
• Batch
o Work on slow data stored into a Datalake
o Submit a complete app in one single deploy
o Receive the entire output
• Notebook
o «sketching» the code
o Write/delete/rewrite continuously
o Run cell by cell (but also all at once) interactive
• In a world of Mathematica
Jupyter
• Evolution and generalization of the seminal role of Mathematica
• In web standards way
o Web (HTTP+Markdown)
o Python adoption (ipynb)
• Written in Java
• Python has an interop bridge...not native (if ever important)Python is a
kernel for Jupyter
Python!
• Simple to start (that why C# is pythonizing…)
• “Open Source”
• TensorFlow, Scikit-learn, Keras, Pandas, PyTorch
• Remember one thing:
o Often behind a Data Science framework there is a native library and Python binds that library
o Spark is written in Java and there is a bridge for Python to Spark
o Jupyter is written in Java and there is a bridge (kernel) for Python
Spark Unifies:
 Batch Processing
 Interactive SQL
 Real-time processing
 Machine Learning
 Deep Learning
 Graph Processing
An unified, open source, parallel, data processing framework for Big Data Analytics
Spark Core Engine
Spark SQL
Batch processing
Spark Structured
Streaming
Stream processing
Spark MLlib
Machine
Learning
Yarn
Spark MLlib
Machine
Learning
Spark
Streaming
Stream processing
GraphX
Graph
Computation
http://spark.apache.org
Apache Spark
.NET Interactive and Jupyter
and Visual Studio Code
• .NET Interactive gives C# and F# kernels to Jupyter
• .NET Interactive gives all tools to create your hosting application
independently from Jupyter
• In Visual Studio Code, you have two different notebooks (looking similar but
developed in parallel by different teams)
o .NET Interactive Notebook (by the .NET Interactive Team) that can run also Python
o Jupyter Notebook (by the Azure Data Studio Team – probably) that can run also C# and F#
• There is a little confusion on that 
• .NET Interactive has a strong C#/F# Kernel...
o ...a less mature infrastructure (compared to Jupiter)
.NET for Apache Spark 1.1.1
• .NET bindings (C# e F#) to Spark
o Written on the Spark interop layer, designed to
provide high performance bindings to multiple
languages
• Re-use knowledge, skills, code you
have as a .NET developer
o Compliant with .NET Standard
• You can use .NET for Apache
Spark anywhere you write .NET
code
• Original project Moebius
o https://github.com/microsoft/Mobius
Experimenting .NET Interactive
The Azure toolbox
.NET (5) hosting in Azure
Existing apps
.NET web apps (on-premises)
Cloud-Optimized
PaaS
Cloud-Native
PaaS for microservices and serverless
Monolithic / N-Tier
architectures
Monolithic / N-Tier
architectures
Microservices and serverless architectures
Cloud
Infrastructure-Ready
Monolithic / N-Tier
architectures
Relational
Database
VMs
Managed services
On-premises Azure
PaaS for containerized microservices
+ Serverless computing
+ Managed services
And Windows Containers
IaaS
(Infrastructure as a Service)
Azure Azure
Functions everywhere
Platform
App delivery
OS
On-premises
Code
App Service on Azure Stack
Windows
●●●
Non-Azure hosts
●●●
●●●
+
Azure Functions
host runtime
Azure Functions
Core Tools
Azure Functions
base Docker image
Azure Functions
.NET Docker image
Azure Functions
Node Docker image
●●●
Logic Apps
o Visually design workflows in the cloud
o Express logic through powerful control flow
o Connect disparate functions and APIs
o Utilize declarative definition to work with CI/CD
Experimenting with
Azure Functions
Anomaly Detection
As A Service in Azure
Azure Cognitive Services
• Cognitive Services brings AI within reach of every developer—without
requiring machine-learning expertise. All it takes is an API call to embed the
ability to see, hear, speak, search, understand, and accelerate decision-
making into your apps. Enable developers of all skill levels to easily add AI
capabilities to their apps.
• Five areas:
• Decision
• Language
• Speech
• Vision
• Web search
Anomaly Detector
Identify potential problems early on.
Content Moderator
Detect potentially offensive or unwanted
content.
Metrics Advisor PREVIEW
Monitor metrics and diagnose issues.
Personalizer
Create rich, personalized experiences for every
user.
Anomaly Detector
• Through an API, Anomaly Detector ingests time-series data of all types and
selects the best-fitting detection model for your data to ensure high accuracy.
Customize the service to detect any level of anomaly and deploy it where you
need it most -- from the cloud to the intelligent edge with containers. Azure
is the only major cloud provider that offers anomaly detection as an AI
service.
Experimenting
with Anomaly Detector
Anomaly Detection
with Big Data
Fully managed big data analytics service
• Fully managed
for efficiency
Focus on insights, not the
infra-structure for fast time to
value
• No infrastructure to manage;
provision the service, choose
the SKU for your workload,
and create database.
• Optimized for
streaming data
Get near-instant insights
from fast-flowing data
• Scale linearly up to 200 MB per
second per node with highly
performant, low latency
ingestion.
• Designed for
data exploration
• Run ad-hoc queries using the
intuitive query language
• Returns results from 1 Billion
records < 1 second without
modifying the data or
metadata
•seconds freshness, days retention
•in-mem aggregated data
•pre-defined standing queries
•split-seconds query performance
•data viewing
Hot
•minutes freshness, months retention
•raw data
•ad-hoc queries
•seconds-minutes query perf
•data exploration
Warm
•hours freshness, years retention
•raw data
•programmatic batch processing
•minutes-hours query perf
•data manipulation
Cold
• in-mem cube
• stream analytics
• …
• column store
• Indexing
• …
• distributed file
system
• map reduce
• …
Multi-temperature data processing paths
Experimenting with
Azure Data Explorer
Upcoming Events
jsTalks (Bulgaria), 2021
Nov 19-20
http://jstalks.net/
Azure MVP Unplugged, 5th Edition
October 21
Global AI Back Together Bulgaria 2021
19 of October
Thanks to our Sponsors
1 de 49

Recomendados

Anomaly Detection with Azure and .net por
Anomaly Detection with Azure and .netAnomaly Detection with Azure and .net
Anomaly Detection with Azure and .netMarco Parenzan
116 vistas42 diapositivas
Hot to build continuously processing for 24/7 real-time data streaming platform? por
Hot to build continuously processing for 24/7 real-time data streaming platform?Hot to build continuously processing for 24/7 real-time data streaming platform?
Hot to build continuously processing for 24/7 real-time data streaming platform?GetInData
262 vistas32 diapositivas
Onnx and onnx runtime por
Onnx and onnx runtimeOnnx and onnx runtime
Onnx and onnx runtimeVishwas N
442 vistas57 diapositivas
KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo... por
KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo...KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo...
KubeFlow + GPU + Keras/TensorFlow 2.0 + TF Extended (TFX) + Kubernetes + PyTo...Chris Fregly
3.9K vistas105 diapositivas
Infrastructure as Code with Ansible por
Infrastructure as Code with AnsibleInfrastructure as Code with Ansible
Infrastructure as Code with AnsibleDaniel Bezerra
747 vistas21 diapositivas

Más contenido relacionado

La actualidad más candente

Splunk Conf 2014 - Getting the message por
Splunk Conf 2014 - Getting the messageSplunk Conf 2014 - Getting the message
Splunk Conf 2014 - Getting the messageDamien Dallimore
2.7K vistas45 diapositivas
MLFlow 1.0 Meetup por
MLFlow 1.0 Meetup MLFlow 1.0 Meetup
MLFlow 1.0 Meetup Databricks
1.5K vistas38 diapositivas
Javantura v4 - Spring Boot and JavaFX - can they play together - Josip Kovaček por
Javantura v4 - Spring Boot and JavaFX - can they play together - Josip KovačekJavantura v4 - Spring Boot and JavaFX - can they play together - Josip Kovaček
Javantura v4 - Spring Boot and JavaFX - can they play together - Josip KovačekHUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
1.7K vistas13 diapositivas
Ankit Chohan - Java por
Ankit Chohan - JavaAnkit Chohan - Java
Ankit Chohan - JavaAnkit Chohan
325 vistas7 diapositivas
Simple tweaks to get the most out of your jvm por
Simple tweaks to get the most out of your jvmSimple tweaks to get the most out of your jvm
Simple tweaks to get the most out of your jvmJamie Coleman
156 vistas70 diapositivas
Splunk Conf 2014 - Splunking the Java Virtual Machine por
Splunk Conf 2014 - Splunking the Java Virtual MachineSplunk Conf 2014 - Splunking the Java Virtual Machine
Splunk Conf 2014 - Splunking the Java Virtual MachineDamien Dallimore
4.3K vistas58 diapositivas

La actualidad más candente(20)

Splunk Conf 2014 - Getting the message por Damien Dallimore
Splunk Conf 2014 - Getting the messageSplunk Conf 2014 - Getting the message
Splunk Conf 2014 - Getting the message
Damien Dallimore2.7K vistas
MLFlow 1.0 Meetup por Databricks
MLFlow 1.0 Meetup MLFlow 1.0 Meetup
MLFlow 1.0 Meetup
Databricks1.5K vistas
Ankit Chohan - Java por Ankit Chohan
Ankit Chohan - JavaAnkit Chohan - Java
Ankit Chohan - Java
Ankit Chohan325 vistas
Simple tweaks to get the most out of your jvm por Jamie Coleman
Simple tweaks to get the most out of your jvmSimple tweaks to get the most out of your jvm
Simple tweaks to get the most out of your jvm
Jamie Coleman156 vistas
Splunk Conf 2014 - Splunking the Java Virtual Machine por Damien Dallimore
Splunk Conf 2014 - Splunking the Java Virtual MachineSplunk Conf 2014 - Splunking the Java Virtual Machine
Splunk Conf 2014 - Splunking the Java Virtual Machine
Damien Dallimore4.3K vistas
Splunk Modular Inputs / JMS Messaging Module Input por Damien Dallimore
Splunk Modular Inputs / JMS Messaging Module InputSplunk Modular Inputs / JMS Messaging Module Input
Splunk Modular Inputs / JMS Messaging Module Input
Damien Dallimore3.7K vistas
DevOps Fest 2020. Даніель Яворович. Data pipelines: building an efficient ins... por DevOps_Fest
DevOps Fest 2020. Даніель Яворович. Data pipelines: building an efficient ins...DevOps Fest 2020. Даніель Яворович. Data pipelines: building an efficient ins...
DevOps Fest 2020. Даніель Яворович. Data pipelines: building an efficient ins...
DevOps_Fest79 vistas
A personal journey towards more reproducible networking research por Olivier Bonaventure
A personal journey towards more reproducible networking researchA personal journey towards more reproducible networking research
A personal journey towards more reproducible networking research
Olivier Bonaventure182 vistas
Open Source In The World Of Java por Jamie Coleman
Open Source In The World Of JavaOpen Source In The World Of Java
Open Source In The World Of Java
Jamie Coleman75 vistas
Perforce Helix Never Dies: DevOps at Bandai Namco Studios por Perforce
Perforce Helix Never Dies: DevOps at Bandai Namco StudiosPerforce Helix Never Dies: DevOps at Bandai Namco Studios
Perforce Helix Never Dies: DevOps at Bandai Namco Studios
Perforce1.4K vistas
How APIs are Transforming Cisco Solutions and Catalyzing an Innovation Ecosystem por Cisco DevNet
How APIs are Transforming Cisco Solutions and Catalyzing an Innovation EcosystemHow APIs are Transforming Cisco Solutions and Catalyzing an Innovation Ecosystem
How APIs are Transforming Cisco Solutions and Catalyzing an Innovation Ecosystem
Cisco DevNet1.8K vistas
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt... por Janusz Nowak
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Janusz Nowak3.8K vistas
SplunkLive London 2014 Developer Presentation por Damien Dallimore
SplunkLive London 2014  Developer PresentationSplunkLive London 2014  Developer Presentation
SplunkLive London 2014 Developer Presentation
Damien Dallimore2.3K vistas
The Polyglot Data Scientist - Exploring R, Python, and SQL Server por Sarah Dutkiewicz
The Polyglot Data Scientist - Exploring R, Python, and SQL ServerThe Polyglot Data Scientist - Exploring R, Python, and SQL Server
The Polyglot Data Scientist - Exploring R, Python, and SQL Server
Sarah Dutkiewicz730 vistas
Enterprise PHP (PHP London Conference 2008) por Ivo Jansch
Enterprise PHP (PHP London Conference 2008)Enterprise PHP (PHP London Conference 2008)
Enterprise PHP (PHP London Conference 2008)
Ivo Jansch7.4K vistas
Microsoft Tech Summit Switzerland 2019 - DOCKER + AZURE DEVOPS + KUBERNETES = ♥ por Marc Müller
Microsoft Tech Summit Switzerland 2019 - DOCKER + AZURE DEVOPS + KUBERNETES = ♥Microsoft Tech Summit Switzerland 2019 - DOCKER + AZURE DEVOPS + KUBERNETES = ♥
Microsoft Tech Summit Switzerland 2019 - DOCKER + AZURE DEVOPS + KUBERNETES = ♥
Marc Müller263 vistas

Similar a Deep Dive Time Series Anomaly Detection in Azure with dotnet

Deep dive time series anomaly detection with different Azure Data Services por
Deep dive time series anomaly detection with different Azure Data ServicesDeep dive time series anomaly detection with different Azure Data Services
Deep dive time series anomaly detection with different Azure Data ServicesMarco Parenzan
181 vistas50 diapositivas
Time Series Anomaly Detection with Azure and .NETT por
Time Series Anomaly Detection with Azure and .NETTTime Series Anomaly Detection with Azure and .NETT
Time Series Anomaly Detection with Azure and .NETTMarco Parenzan
138 vistas38 diapositivas
Time Series Anomaly Detection for .net and Azure por
Time Series Anomaly Detection for .net and AzureTime Series Anomaly Detection for .net and Azure
Time Series Anomaly Detection for .net and AzureMarco Parenzan
38 vistas43 diapositivas
Time Series Anomaly Detection with .net and Azure por
Time Series Anomaly Detection with .net and AzureTime Series Anomaly Detection with .net and Azure
Time Series Anomaly Detection with .net and AzureMarco Parenzan
146 vistas48 diapositivas
Consolidating MLOps at One of Europe’s Biggest Airports por
Consolidating MLOps at One of Europe’s Biggest AirportsConsolidating MLOps at One of Europe’s Biggest Airports
Consolidating MLOps at One of Europe’s Biggest AirportsDatabricks
327 vistas31 diapositivas
.NET per la Data Science e oltre por
.NET per la Data Science e oltre.NET per la Data Science e oltre
.NET per la Data Science e oltreMarco Parenzan
180 vistas40 diapositivas

Similar a Deep Dive Time Series Anomaly Detection in Azure with dotnet(20)

Deep dive time series anomaly detection with different Azure Data Services por Marco Parenzan
Deep dive time series anomaly detection with different Azure Data ServicesDeep dive time series anomaly detection with different Azure Data Services
Deep dive time series anomaly detection with different Azure Data Services
Marco Parenzan181 vistas
Time Series Anomaly Detection with Azure and .NETT por Marco Parenzan
Time Series Anomaly Detection with Azure and .NETTTime Series Anomaly Detection with Azure and .NETT
Time Series Anomaly Detection with Azure and .NETT
Marco Parenzan138 vistas
Time Series Anomaly Detection for .net and Azure por Marco Parenzan
Time Series Anomaly Detection for .net and AzureTime Series Anomaly Detection for .net and Azure
Time Series Anomaly Detection for .net and Azure
Marco Parenzan38 vistas
Time Series Anomaly Detection with .net and Azure por Marco Parenzan
Time Series Anomaly Detection with .net and AzureTime Series Anomaly Detection with .net and Azure
Time Series Anomaly Detection with .net and Azure
Marco Parenzan146 vistas
Consolidating MLOps at One of Europe’s Biggest Airports por Databricks
Consolidating MLOps at One of Europe’s Biggest AirportsConsolidating MLOps at One of Europe’s Biggest Airports
Consolidating MLOps at One of Europe’s Biggest Airports
Databricks327 vistas
.NET per la Data Science e oltre por Marco Parenzan
.NET per la Data Science e oltre.NET per la Data Science e oltre
.NET per la Data Science e oltre
Marco Parenzan180 vistas
Time Series Anomaly Detection with .net and Azure por Marco Parenzan
Time Series Anomaly Detection with .net and AzureTime Series Anomaly Detection with .net and Azure
Time Series Anomaly Detection with .net and Azure
Marco Parenzan93 vistas
MWLUG 2015 - An Introduction to MVC por Ulrich Krause
MWLUG 2015 - An Introduction to MVCMWLUG 2015 - An Introduction to MVC
MWLUG 2015 - An Introduction to MVC
Ulrich Krause1.3K vistas
An Introduction To Model  View  Controller In XPages por Ulrich Krause
An Introduction To Model  View  Controller In XPagesAn Introduction To Model  View  Controller In XPages
An Introduction To Model  View  Controller In XPages
Ulrich Krause11.5K vistas
Autonomous Machines with Project Bonsai por Ivo Andreev
Autonomous Machines with Project BonsaiAutonomous Machines with Project Bonsai
Autonomous Machines with Project Bonsai
Ivo Andreev4.9K vistas
Streamlio and IoT analytics with Apache Pulsar por Streamlio
Streamlio and IoT analytics with Apache PulsarStreamlio and IoT analytics with Apache Pulsar
Streamlio and IoT analytics with Apache Pulsar
Streamlio1.3K vistas
Postmortem of a uwp xaml application development por David Catuhe
Postmortem of a uwp xaml application developmentPostmortem of a uwp xaml application development
Postmortem of a uwp xaml application development
David Catuhe771 vistas
Math with .NET for you and Azure por Marco Parenzan
Math with .NET for you and AzureMath with .NET for you and Azure
Math with .NET for you and Azure
Marco Parenzan59 vistas
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (... por Open Mobile Alliance
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...
Enabling IoT Devices’ Hardware and Software Interoperability, IPSO Alliance (...
Open Mobile Alliance1.2K vistas
Machine learning and Deep learning on edge devices using TensorFlow por Aditya Bhattacharya
Machine learning and Deep learning on edge devices using TensorFlowMachine learning and Deep learning on edge devices using TensorFlow
Machine learning and Deep learning on edge devices using TensorFlow
Aditya Bhattacharya126 vistas
Spark + AI Summit 2019: Apache Spark Listeners: A Crash Course in Fast, Easy ... por Landon Robinson
Spark + AI Summit 2019: Apache Spark Listeners: A Crash Course in Fast, Easy ...Spark + AI Summit 2019: Apache Spark Listeners: A Crash Course in Fast, Easy ...
Spark + AI Summit 2019: Apache Spark Listeners: A Crash Course in Fast, Easy ...
Landon Robinson140 vistas
.NET for Azure Synapse (and viceversa) por Marco Parenzan
.NET for Azure Synapse (and viceversa).NET for Azure Synapse (and viceversa)
.NET for Azure Synapse (and viceversa)
Marco Parenzan75 vistas
Building and deploying LLM applications with Apache Airflow por Kaxil Naik
Building and deploying LLM applications with Apache AirflowBuilding and deploying LLM applications with Apache Airflow
Building and deploying LLM applications with Apache Airflow
Kaxil Naik101 vistas

Más de Marco Parenzan

Azure IoT Central per lo SCADA engineer por
Azure IoT Central per lo SCADA engineerAzure IoT Central per lo SCADA engineer
Azure IoT Central per lo SCADA engineerMarco Parenzan
7 vistas60 diapositivas
Azure Hybrid @ Home por
Azure Hybrid @ HomeAzure Hybrid @ Home
Azure Hybrid @ HomeMarco Parenzan
10 vistas50 diapositivas
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx por
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptxStatic abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptxMarco Parenzan
10 vistas34 diapositivas
Azure Synapse Analytics for your IoT Solutions por
Azure Synapse Analytics for your IoT SolutionsAzure Synapse Analytics for your IoT Solutions
Azure Synapse Analytics for your IoT SolutionsMarco Parenzan
33 vistas21 diapositivas
Power BI Streaming Data Flow e Azure IoT Central por
Power BI Streaming Data Flow e Azure IoT Central Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central Marco Parenzan
29 vistas61 diapositivas
Power BI Streaming Data Flow e Azure IoT Central por
Power BI Streaming Data Flow e Azure IoT CentralPower BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT CentralMarco Parenzan
8 vistas62 diapositivas

Más de Marco Parenzan(20)

Azure IoT Central per lo SCADA engineer por Marco Parenzan
Azure IoT Central per lo SCADA engineerAzure IoT Central per lo SCADA engineer
Azure IoT Central per lo SCADA engineer
Marco Parenzan7 vistas
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx por Marco Parenzan
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptxStatic abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Static abstract members nelle interfacce di C# 11 e dintorni di .NET 7.pptx
Marco Parenzan10 vistas
Azure Synapse Analytics for your IoT Solutions por Marco Parenzan
Azure Synapse Analytics for your IoT SolutionsAzure Synapse Analytics for your IoT Solutions
Azure Synapse Analytics for your IoT Solutions
Marco Parenzan33 vistas
Power BI Streaming Data Flow e Azure IoT Central por Marco Parenzan
Power BI Streaming Data Flow e Azure IoT Central Power BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central
Marco Parenzan29 vistas
Power BI Streaming Data Flow e Azure IoT Central por Marco Parenzan
Power BI Streaming Data Flow e Azure IoT CentralPower BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central
Marco Parenzan8 vistas
Power BI Streaming Data Flow e Azure IoT Central por Marco Parenzan
Power BI Streaming Data Flow e Azure IoT CentralPower BI Streaming Data Flow e Azure IoT Central
Power BI Streaming Data Flow e Azure IoT Central
Marco Parenzan105 vistas
Developing Actors in Azure with .net por Marco Parenzan
Developing Actors in Azure with .netDeveloping Actors in Azure with .net
Developing Actors in Azure with .net
Marco Parenzan80 vistas
Power BI data flow and Azure IoT Central por Marco Parenzan
Power BI data flow and Azure IoT CentralPower BI data flow and Azure IoT Central
Power BI data flow and Azure IoT Central
Marco Parenzan106 vistas
.net for fun: write a Christmas videogame por Marco Parenzan
.net for fun: write a Christmas videogame.net for fun: write a Christmas videogame
.net for fun: write a Christmas videogame
Marco Parenzan108 vistas
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn... por Marco Parenzan
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Building IoT infrastructure on edge with .net, Raspberry PI and ESP32 to conn...
Marco Parenzan361 vistas
Anomaly Detection with Azure and .NET por Marco Parenzan
Anomaly Detection with Azure and .NETAnomaly Detection with Azure and .NET
Anomaly Detection with Azure and .NET
Marco Parenzan203 vistas
Deploy Microsoft Azure Data Solutions por Marco Parenzan
Deploy Microsoft Azure Data SolutionsDeploy Microsoft Azure Data Solutions
Deploy Microsoft Azure Data Solutions
Marco Parenzan159 vistas
Code Generation for Azure with .net por Marco Parenzan
Code Generation for Azure with .netCode Generation for Azure with .net
Code Generation for Azure with .net
Marco Parenzan86 vistas
Running Kafka and Spark on Raspberry PI with Azure and some .net magic por Marco Parenzan
Running Kafka and Spark on Raspberry PI with Azure and some .net magicRunning Kafka and Spark on Raspberry PI with Azure and some .net magic
Running Kafka and Spark on Raspberry PI with Azure and some .net magic
Marco Parenzan170 vistas
Code Generation for Azure with .net por Marco Parenzan
Code Generation for Azure with .netCode Generation for Azure with .net
Code Generation for Azure with .net
Marco Parenzan80 vistas
.net interactive for notebooks and for your data job por Marco Parenzan
.net interactive for notebooks and for your data job.net interactive for notebooks and for your data job
.net interactive for notebooks and for your data job
Marco Parenzan67 vistas
.net interactive for your code and Azure por Marco Parenzan
.net interactive for your code and Azure.net interactive for your code and Azure
.net interactive for your code and Azure
Marco Parenzan42 vistas
From IoT Central to IoT Hub por Marco Parenzan
From IoT Central to IoT HubFrom IoT Central to IoT Hub
From IoT Central to IoT Hub
Marco Parenzan130 vistas

Último

Fleet Management Software in India por
Fleet Management Software in India Fleet Management Software in India
Fleet Management Software in India Fleetable
12 vistas1 diapositiva
Navigating container technology for enhanced security by Niklas Saari por
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas SaariMetosin Oy
14 vistas34 diapositivas
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... por
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...TomHalpin9
6 vistas29 diapositivas
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx por
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptxanimuscrm
15 vistas19 diapositivas
Airline Booking Software por
Airline Booking SoftwareAirline Booking Software
Airline Booking SoftwareSharmiMehta
9 vistas26 diapositivas
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with... por
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...sparkfabrik
8 vistas46 diapositivas

Último(20)

Fleet Management Software in India por Fleetable
Fleet Management Software in India Fleet Management Software in India
Fleet Management Software in India
Fleetable12 vistas
Navigating container technology for enhanced security by Niklas Saari por Metosin Oy
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy14 vistas
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... por TomHalpin9
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
TomHalpin96 vistas
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx por animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm15 vistas
Airline Booking Software por SharmiMehta
Airline Booking SoftwareAirline Booking Software
Airline Booking Software
SharmiMehta9 vistas
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with... por sparkfabrik
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
20231129 - Platform @ localhost 2023 - Application-driven infrastructure with...
sparkfabrik8 vistas
Top-5-production-devconMunich-2023-v2.pptx por Tier1 app
Top-5-production-devconMunich-2023-v2.pptxTop-5-production-devconMunich-2023-v2.pptx
Top-5-production-devconMunich-2023-v2.pptx
Tier1 app6 vistas
Generic or specific? Making sensible software design decisions por Bert Jan Schrijver
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
FIMA 2023 Neo4j & FS - Entity Resolution.pptx por Neo4j
FIMA 2023 Neo4j & FS - Entity Resolution.pptxFIMA 2023 Neo4j & FS - Entity Resolution.pptx
FIMA 2023 Neo4j & FS - Entity Resolution.pptx
Neo4j17 vistas
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action por Márton Kodok
Gen Apps on Google Cloud PaLM2 and Codey APIs in ActionGen Apps on Google Cloud PaLM2 and Codey APIs in Action
Gen Apps on Google Cloud PaLM2 and Codey APIs in Action
Márton Kodok16 vistas
AI and Ml presentation .pptx por FayazAli87
AI and Ml presentation .pptxAI and Ml presentation .pptx
AI and Ml presentation .pptx
FayazAli8714 vistas
Quality Engineer: A Day in the Life por John Valentino
Quality Engineer: A Day in the LifeQuality Engineer: A Day in the Life
Quality Engineer: A Day in the Life
John Valentino7 vistas
Introduction to Git Source Control por John Valentino
Introduction to Git Source ControlIntroduction to Git Source Control
Introduction to Git Source Control
John Valentino7 vistas
Sprint 226 por ManageIQ
Sprint 226Sprint 226
Sprint 226
ManageIQ11 vistas

Deep Dive Time Series Anomaly Detection in Azure with dotnet

  • 1. DATA SATURDAY #10 Sofia, Oct 09th Deep Dive Time Series Anomaly Detection with different Azure data services Marco Parenzan
  • 2. Marco Parenzan • Senion Solution Architect @ beanTech • 1nn0va Community Lead (Pordenone) • Microsoft Azure MVP • Profiles o Linkedin: https://www.linkedin.com/in/marcoparenzan/ o Slideshare: https://www.slideshare.net/marco.parenzan o GitHub: https://github.com/marcoparenzan
  • 3. This is the journey of… • …a .NET developer… • …or an IoT developer… • …a one-man band (sometimes )… • …facing typical data science world topics… • …that wants to use .NET everywhere!
  • 4. Thanks to our Sponsors
  • 6. Scenario • In an industrial fridge, you monitor temperatures to check not the temperature «per se», but to check the healthy of the plant From real industrial fridges 
  • 7. With no any specific request... what is IoT all about? Efficiency Anomalies Batch Streaming
  • 9. How can we implement processing? Ingest Process Storage Account Azure IoT Hub-Related Services Devices Events ? We explore some of them, probably the most Microsoft and Azure oriented
  • 11. I’m not a data scientist! Or a BI Analyst!
  • 12. I’m a .NET Developer!
  • 13. Make me think and work as a Data Scientist!
  • 14. A (very little) bit of theory for Anomaly Detection in Time Series
  • 15. Threshold anomalies? • Threshold alarms are not enough o Anomalies cannot be just «over a threshold for some time»... o Condenser or Evaporator with difficulties starting o Distinguish from Opening a door (that is also an anomaly) o Or also counting the number of times that there are peaks (too many times) • You can considering each of these events as anomalies that alter the temperature you measure in different part of the fridge
  • 16. Anomaly Detection • Anomaly detection is the process of identifying unexpected items or events in data sets, which differ from the norm. • And anomaly detection is often applied on unlabeled data which is known as unsupervised anomaly detection. • Anomaly is not just a matter of time and scalar values. It can also be a matter of visual anomalies!
  • 17. Time Series o Trend • is a general direction in which something is developing or changing. A trend can be upward(uptrend) or downward(downtrend). It is not always necessary that the increase or decrease is consistently in the same direction in a given period. o Seasonality • Predictable pattern that recurs or repeats over regular intervals. Seasonality is often observed within a year or less. o Irregular fluctuation • These are variations that occur due to sudden causes and are unpredictable. For example the rise in prices of food due to war, flood, earthquakes, farmers striking etc. • Definition o Time series is a sequence of data points recorded in time order, often taken at successive equally paced points in time. • Examples o Stock prices, Sales demand, website traffic, daily temperatures, quarterly sales • Time series is different from regression analysis because of its time-dependent nature.
  • 18. Anomaly Detection in Time Series • In time series data, an anomaly or outlier can be termed as a data point which is not following the common collective trend or seasonal or cyclic pattern of the entire data and is significantly distinct from rest of the data. By significant, most data scientists mean statistical significance, which in order words, signify that the statistical properties of the data point is not in alignment with the rest of the series. • Anomaly detection has two basic assumptions: o Anomalies only occur very rarely in the data. o Their features differ from the normal instances significantly.
  • 20. Helping no-data scientits developers (all! ) • Unsupervised Machine LearningNo labelling • Automated Training Set for Anomaly Detection Algorithms • the algorithms automatically generates a simulated training set based non your input data • Auto(mated) MLfind the best tuning for you with parameters and algorithms https://docs.microsoft.com/en-us/azure/machine-learning/algorithm-cheat-sheet
  • 21. Spectrum Residual Cnn (SrCnn) • To monitor the time-series continuously and alert for potential incidents on time • The algorithm first computes the Fourier Transform of the original data. Then it computes the spectral residual of the log amplitude of the transformed signal before applying the Inverse Fourier Transform to map the sequence back from the frequency to the time domain. This sequence is called the saliency map. The anomaly score is then computed as the relative difference between the saliency map values and their moving averages. If the score is above a threshold, the value at a specific timestep is flagged as an outlier. • There are several parameters for SR algorithm. To obtain a model with good performance, we suggest to tune windowSize and threshold at first, these are the most important parameters to SR. Then you could search for an appropriate judgementWindowSize which is no larger than windowSize. And for the remaining parameters, you could use the default value directly. • Time-Series Anomaly Detection Service at Microsoft [https://arxiv.org/pdf/1906.03821.pdf]
  • 22. Data Science for the .NET developer
  • 23. Data Science and AI for the .NET developer • ML.NET is first and foremost a framework that you can use to create your own custom ML models. This custom approach contrasts with “pre-built AI,” where you use pre-designed general AI services from the cloud (like many of the offerings from Azure Cognitive Services). This can work great for many scenarios, but it might not always fit your specific business needs due to the nature of the machine learning problem or to the deployment context (cloud vs. on-premises). • ML.NET enables developers to use their existing .NET skills to easily integrate machine learning into almost any .NET application. This means that if C# (or F# or VB) is your programming language of choice, you no longer have to learn a new programming language, like Python or R, in order to develop your own ML models and infuse custom machine learning into your .NET apps.
  • 25. Some tools required • .NET 5 + WPF + ML.NET • Mandatory , the platform where we try to make experiments • Xplot.Ploty (soon you will understand I use this) https://fslab.org/XPlot/ • XPlot is a cross-platform data visualization package for the F# programming language powered by popular JavaScript charting libraries Plotly and Google Charts. The library provides a complete mapping for the configuration options of the underlying libraries and so you get a nice F# interface that gives you access to the full power of Plotly and Google Charts. The XPlot library can be used interactively from F# Interactive, but charts can equally easy be embedded in F# applications and in HTML reports. • WebView2 https://docs.microsoft.com/en-us/microsoft-edge/webview2/gettingstarted/wpf • The Microsoft Edge WebView2 control enables you to embed web technologies (HTML, CSS, and JavaScript) in your native apps. The WebView2 control uses Microsoft Edge (Chromium) as the rendering engine to display the web content in native apps. With WebView2, you may embed web code in different parts of your native app. Build all of the native app within a single WebView instance.
  • 28. Batch vs. Notebooks • Batch o Work on slow data stored into a Datalake o Submit a complete app in one single deploy o Receive the entire output • Notebook o «sketching» the code o Write/delete/rewrite continuously o Run cell by cell (but also all at once) interactive • In a world of Mathematica
  • 29. Jupyter • Evolution and generalization of the seminal role of Mathematica • In web standards way o Web (HTTP+Markdown) o Python adoption (ipynb) • Written in Java • Python has an interop bridge...not native (if ever important)Python is a kernel for Jupyter
  • 30. Python! • Simple to start (that why C# is pythonizing…) • “Open Source” • TensorFlow, Scikit-learn, Keras, Pandas, PyTorch • Remember one thing: o Often behind a Data Science framework there is a native library and Python binds that library o Spark is written in Java and there is a bridge for Python to Spark o Jupyter is written in Java and there is a bridge (kernel) for Python
  • 31. Spark Unifies:  Batch Processing  Interactive SQL  Real-time processing  Machine Learning  Deep Learning  Graph Processing An unified, open source, parallel, data processing framework for Big Data Analytics Spark Core Engine Spark SQL Batch processing Spark Structured Streaming Stream processing Spark MLlib Machine Learning Yarn Spark MLlib Machine Learning Spark Streaming Stream processing GraphX Graph Computation http://spark.apache.org Apache Spark
  • 32. .NET Interactive and Jupyter and Visual Studio Code • .NET Interactive gives C# and F# kernels to Jupyter • .NET Interactive gives all tools to create your hosting application independently from Jupyter • In Visual Studio Code, you have two different notebooks (looking similar but developed in parallel by different teams) o .NET Interactive Notebook (by the .NET Interactive Team) that can run also Python o Jupyter Notebook (by the Azure Data Studio Team – probably) that can run also C# and F# • There is a little confusion on that  • .NET Interactive has a strong C#/F# Kernel... o ...a less mature infrastructure (compared to Jupiter)
  • 33. .NET for Apache Spark 1.1.1 • .NET bindings (C# e F#) to Spark o Written on the Spark interop layer, designed to provide high performance bindings to multiple languages • Re-use knowledge, skills, code you have as a .NET developer o Compliant with .NET Standard • You can use .NET for Apache Spark anywhere you write .NET code • Original project Moebius o https://github.com/microsoft/Mobius
  • 36. .NET (5) hosting in Azure Existing apps .NET web apps (on-premises) Cloud-Optimized PaaS Cloud-Native PaaS for microservices and serverless Monolithic / N-Tier architectures Monolithic / N-Tier architectures Microservices and serverless architectures Cloud Infrastructure-Ready Monolithic / N-Tier architectures Relational Database VMs Managed services On-premises Azure PaaS for containerized microservices + Serverless computing + Managed services And Windows Containers IaaS (Infrastructure as a Service) Azure Azure
  • 37. Functions everywhere Platform App delivery OS On-premises Code App Service on Azure Stack Windows ●●● Non-Azure hosts ●●● ●●● + Azure Functions host runtime Azure Functions Core Tools Azure Functions base Docker image Azure Functions .NET Docker image Azure Functions Node Docker image ●●●
  • 38. Logic Apps o Visually design workflows in the cloud o Express logic through powerful control flow o Connect disparate functions and APIs o Utilize declarative definition to work with CI/CD
  • 40. Anomaly Detection As A Service in Azure
  • 41. Azure Cognitive Services • Cognitive Services brings AI within reach of every developer—without requiring machine-learning expertise. All it takes is an API call to embed the ability to see, hear, speak, search, understand, and accelerate decision- making into your apps. Enable developers of all skill levels to easily add AI capabilities to their apps. • Five areas: • Decision • Language • Speech • Vision • Web search Anomaly Detector Identify potential problems early on. Content Moderator Detect potentially offensive or unwanted content. Metrics Advisor PREVIEW Monitor metrics and diagnose issues. Personalizer Create rich, personalized experiences for every user.
  • 42. Anomaly Detector • Through an API, Anomaly Detector ingests time-series data of all types and selects the best-fitting detection model for your data to ensure high accuracy. Customize the service to detect any level of anomaly and deploy it where you need it most -- from the cloud to the intelligent edge with containers. Azure is the only major cloud provider that offers anomaly detection as an AI service.
  • 45. Fully managed big data analytics service • Fully managed for efficiency Focus on insights, not the infra-structure for fast time to value • No infrastructure to manage; provision the service, choose the SKU for your workload, and create database. • Optimized for streaming data Get near-instant insights from fast-flowing data • Scale linearly up to 200 MB per second per node with highly performant, low latency ingestion. • Designed for data exploration • Run ad-hoc queries using the intuitive query language • Returns results from 1 Billion records < 1 second without modifying the data or metadata
  • 46. •seconds freshness, days retention •in-mem aggregated data •pre-defined standing queries •split-seconds query performance •data viewing Hot •minutes freshness, months retention •raw data •ad-hoc queries •seconds-minutes query perf •data exploration Warm •hours freshness, years retention •raw data •programmatic batch processing •minutes-hours query perf •data manipulation Cold • in-mem cube • stream analytics • … • column store • Indexing • … • distributed file system • map reduce • … Multi-temperature data processing paths
  • 48. Upcoming Events jsTalks (Bulgaria), 2021 Nov 19-20 http://jstalks.net/ Azure MVP Unplugged, 5th Edition October 21 Global AI Back Together Bulgaria 2021 19 of October
  • 49. Thanks to our Sponsors

Notas del editor

  1. https://towardsdatascience.com/effective-approaches-for-time-series-anomaly-detection-9485b40077f1 https://towardsdatascience.com/anomaly-detection-for-dummies-15f148e559c1
  2. https://towardsdatascience.com/time-series-analysis-for-beginners-8a200552e332
  3. Anomaly detection is the process of identifying unexpected items or events in data sets, which differ from the norm. And anomaly detection is often applied on unlabeled data which is known as unsupervised anomaly detection. https://towardsdatascience.com/effective-approaches-for-time-series-anomaly-detection-9485b40077f1
  4. The Spectral Residual outlier detector is based on the paper Time-Series Anomaly Detection Service at Microsoft and is suitable for unsupervised online anomaly detection in univariate time series data. The algorithm first computes the Fourier Transform of the original data. Then it computes the spectral residual of the log amplitude of the transformed signal before applying the Inverse Fourier Transform to map the sequence back from the frequency to the time domain. This sequence is called the saliency map. The anomaly score is then computed as the relative difference between the saliency map values and their moving averages. If the score is above a threshold, the value at a specific timestep is flagged as an outlier. For more details, please check out the paper.
  5. What’s next? Modernize applications with .NET Core Today we focused on Cloud-optimized .NET Framework apps. However, many applications will benefit from modern architecture built on .NET Core – a much faster, modular, cross-platform, open source .NET. Websites can be modernized with ASP.NET Core to bring in better security, compliance, and much better performance than ASP.NET on .NET Framework. .NET Core also provides code patterns for building resilient, high-performance microservices on Linux and Windows.
  6. Build 2015
  7. WHAT is ADX EXACTLY?  Is a Fully managed big data analytics service, based on an Analytical database. Analytical databases are optimized to query and run advanced analytics on large volumes of data with extremely low response times.  Modern analytical databases are generally distributed, scalable, fault-tolerant They are columnar based databases that deal with compressed formats and with an intelligent softweare infrastructure composed by a blend of in-memory and disk caching technologies. 
  8. Hot is in terms of Instant results from a continuous dataflow Warm path mean analytical approach, not immediate but full of rough data to be modeled Cold doesn't mean unreachable So the question is: In a Multi Temperature situation, is there any Azure service that can be the answer to all the three data paths.