Microsoft Azure Anomaly Detector
Tags: webdev, programming, devops, cloud
Published: 2023-03-30 17:32:01

You can monitor and detect abnormalities in your time series data using batch validation or real-time inference with the aid of a suite of AIS APIs called Anomaly Detector, even if you have little to no machine learning (ML) experience.

• QuickStart’s are step-by-step guides that enable you to contact the service and obtain results quickly.
• An interactive demo could make it easier for you to comprehend how the Anomaly Detector functions.
• How-to guides offer guidance on how to use the service in more detailed or unique ways.
• Longer guides called tutorials explain how to use this service as a part of larger business solutions.
• Anomaly Detector's usage is demonstrated via code samples.
• Conceptual papers include thorough descriptions of the functionality and features of the service.

##Ability to detect anomalies.
You can use Anomaly Detector to either detect anomalies in a single variable using the Univariate Anomaly Detector or find anomalies in many variables using the Multivariate Anomaly Detector.
### Detection of Univariate Anomalies
Look for anomalies in one variable, such as cost or income. The model was automatically chosen based on the pattern in your data.
### Detection of Multivariate Anomalies
Use correlations, which are typically gleaned from equipment or another complex system, to find anomalies in many variables. An attention network called a graph serves as the underlying model.

## Detection of Univariate Anomalies
Without any prior machine learning experience, you may use the Univariate Anomaly Detection API to track and identify anomalies in your time series data. The algorithms adapt by automatically finding and using the best-fitting models to your data, regardless of industry, situation, or data amount. Using your time series data, the API determines upper and lower bounds for anomaly detection, expected values, and which data points are anomalous.
### Identification of streaming
To identify anomalies in your streaming data, use previously observed data points to determine whether your most recent data point is irregular. This operation develops a model that determines whether the target point is an anomaly using the data points you provide. By calling the API each time a new data point is added, you may monitor the creation of your data.
### Batch recognition
Look for any probable anomalies in your data using your time series. This process develops a model that analyses each point using the same model across your whole time series of data.
### Detection of change spots.
Use your time series to detect any trend change points that exist in your data. This operation generates a model using your entire time series data, with each point analyzed with the same model.
### Detection of Multivariate Anomalies
By making it simple to incorporate cutting-edge AI for identifying anomalies from sets of measurements without the need for tagged data or machine learning knowledge, the Multivariate Anomaly Detection APIs further empower developers. The dependencies and interactions of up to 300 distinct signals are now automatically counted as significant elements. With this unique capacity, you can avoid issues in complex systems like software programs, servers, production tools, spacecraft, or even your business.

## By identifying issues early, you may increase the reliability of your company.

Your apps may easily incorporate time-series anomaly detection features to assist users in finding issues fast. Time-series data of various kinds are ingested by Anomaly Detector, which then chooses the most accurate anomaly detection technique for your data. Use both univariate and multivariate APIs to find spikes, dips, cyclical pattern deviations, and trend shifts. Adapt the service to find anomalies of any severity. Install the anomaly detection service in the cloud or at the intelligent edge, depending on where you need it.
• To maximize accuracy for your situation, a robust inference engine analyses your time-series information and automatically chooses the best anomaly detection algorithm.
• Using automatic detection instead of labeled training data allows you to save time and concentrate on resolving issues as soon as they arise.
• You can adjust the sensitivity to probable anomalies based on the risk profile of your company using customizable parameters.

## Characteristics Of the Azure Anomaly Detector
### Speed up the process of insight.
With a straightforward setup through the Azure interface and real-time anomaly detection technologies, you can expedite problem-solving. All it takes is three lines of code.

### Find anomalies in many variables.
Before they have an impact on your organization, use multivariate anomaly detection to assess several signals and the correlations between them.

### Find issues in almost any situation.
A single approach cannot handle all the numerous forms that time-series data can take. After analysing your time-series data set, Anomaly Detector automatically selects the best algorithm and anomaly detection techniques from the model gallery. Take advantage of the service to ensure high accuracy when handling fraud, monitoring IoT device traffic, and adjusting to changing market conditions.

## Practical Lab for creating Azure Anomaly Detector Service Instance
Now we want to create an azure anomaly detector Service Instance. 
### Step No 1 Select the Azure AI Anomaly Detector Service 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lpkglfj2g5xjjppzd5gj.png)
## Step No 2 Select the Basic Setting 
Add the basic setting for an application and then create the Azure data lake gen 2 service instance. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0knvwmwe90ztjfd4bzrc.png)
## Azure Data Lake Gen 2 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ng13c6q3vv7ppa15g8gf.png)

## Step No 3 Select the Security Option 
Configure security options for your workspace.
### Authentication
Choose the authentication method for access to workspace resources such as SQL pools. The authentication method can be changed later.
### Create the Server Credentials 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1idnyhqsc2rdqmyjf4e9.png)
## Step No 4 Select the Networking Option 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b2j3wwqhw43o5cf6zrj3.png)
## Step No 5 Select the Azure Tags Options
Tags are name/value pairs that enable you to categorize resources and view consolidated billing by applying the same tag to multiple resources and resource groups.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hkao0abts24zkqt2zpdl.png)

## Step No 6 Review and Create 
Now hit the review and create a button for creating an instance for the Azure anomaly detector service. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/09tofxt43ujekptqs2rp.png)

## Initial Deployment of the Service 
Now you can see that our initial deployment has been started

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dslgo2qbrf48d7ltynip.png)

## Deployment is InProgress 
Deployment of the service is in Progress. 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/chghmxnyoxk9llcyzptq.png)
## Service is Deployed and Ready to Use

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ulaqdn817t3hlphumynr.png)