Skip to content

Latest commit

 

History

History
86 lines (55 loc) · 7.32 KB

README.md

File metadata and controls

86 lines (55 loc) · 7.32 KB

Anomaly Detector API Samples

This repository contains API samples and SDK samples for Anomaly Detector API. The Anomaly Detector API enables you to monitor and find abnormalities in your time series data by automatically identifying and applying the correct statistical models, regardless of industry, scenario, or data volume.

👋About Anomaly Detector

Anomaly Detector is an AI service with a set of APIs, which enables you to monitor and detect anomalies in your time series data with little ML knowledge, either batch validation or real-time inference.

Univariate Anomaly Detection API enables you to monitor and detect abnormalities in your single variable without having to know machine learning. The Anomaly Detector API's algorithms adapt by automatically identifying and applying the best-fitting models to your data, regardless of industry, scenario, or data volume. Using your time series data, the API determines boundaries for anomaly detection, expected values, and which data points are anomalies.

Multivariate anomaly detection API further enable developers by easily integrating advanced AI for detecting anomalies from groups of metrics, without the need for machine learning knowledge or labeled data. Dependencies and inter-correlations between up to 300 different signals are now automatically counted as key factors. This new capability helps you to proactively protect your complex systems such as software applications, servers, factory machines, spacecraft, or even your business, from failures.

Prerequisites

You must have an Anomaly Detector API resource. Before continuing, you will need the API key and the endpoint from your Azure dashboard. Get Anomaly Detector access keys

Or you could create a 7-day free resource of Anomaly Detector from here.

Content

This repository is organized in the following structure, we recommend you go to demo-notebook first to try the simple samples if you are a fan of Python. 🤗

Folder Description
🆕ipython-notebook API and SDK sample codes written in python notebook for UVAD adn MVAD. The latest update will start from here first. 😉
sampledata All the sample datasets that are used in this repository.
sample-multivariate Sample SDK codes for MVAD(preview version) using 4 languages.
sample-univariate Sample API and SDK codes for UVAD using 4 languages.
univariate-live-demo This includes a live demo that you could clone directly and ran on your data or make any modifications.
postman-demo This includes the tutorial of using postman to trigger Anomaly Detector, which could help better understand from API perspective.

🔗Important links

1️⃣Microsoft Learn - Anomaly Detector

2️⃣API/SDK Sample

3️⃣Anomaly Detector in Synapse

4️⃣Anomaly Detector in Azure Databricks

5️⃣Anomaly Detector in Azure Data Explorer

6️⃣Anomaly Detector PowerBI

Container demo

(Only support UVAD)

If you want to run the notebook with an on-premise UVAD version of Anomaly Detector as container, there're four prerequisites that must be met:

  1. You have access to the Azure Container Registry which hosts the Anomaly Detector container images. Please complete and submit the Anomaly Detector Container Request form to request access to the container.
  2. You have created an Anomaly Detector resource on Azure.
  3. You have the proper container environment ready to host the Anomaly Detector container. Please read Prerequisites and The host computer for details.
  4. You have Jupyter Notebook installed on your computer. We recommend installing Python and Jupyter using the Anaconda Distribution.

After you pull the container image and spin it up, ensure there's an HTTP endpoint accessible to the APIs and this will be your endpoint for the demo. To run the notebook with your Anomaly Detector container instance, complete the following steps:

  1. Clone this project to your local directory
  2. Start Anaconda Prompt
  3. In the command line, change the working directory to your project directory using cd
  4. Type jupyter notebook and run which opens http://localhost:8888/tree in a browser window
  5. Open one of the notebooks under ipython-notebook folder
  6. Fill in the API key (from your Anomaly Detector resource on Azure) and the endpoint (from your Anomaly Detector container instance)
  7. In the Notebook main menu, click Cell->run all

❤️Support

Need support? Join the Anomaly Detector Community.