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.
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.
You must have an Anomaly Detector API resource. Before continuing, you will need the API key and the endpoint from your Azure dashboard.
Or you could create a 7-day free resource of Anomaly Detector from here.
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. |
- Learning module: Identify abnormal time-series data with Anomaly Detector
- Tutorial: Use Multivariate Anomaly Detector in Azure Synapse Analytics
- Sample notebook for MVAD in Synapse
- Blog: Announcing Univariate Anomaly Detector in Azure Data Explorer
- Documentation about anomaly detection function in ADX
(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:
- 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.
- You have created an Anomaly Detector resource on Azure.
- You have the proper container environment ready to host the Anomaly Detector container. Please read Prerequisites and The host computer for details.
- 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:
- Clone this project to your local directory
- Start Anaconda Prompt
- In the command line, change the working directory to your project directory using cd
- Type jupyter notebook and run which opens http://localhost:8888/tree in a browser window
- Open one of the notebooks under ipython-notebook folder
- Fill in the API key (from your Anomaly Detector resource on Azure) and the endpoint (from your Anomaly Detector container instance)
- In the Notebook main menu, click Cell->run all
Need support? Join the Anomaly Detector Community.