-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: online anomaly detection (#546)
Co-authored-by: yibeihu <yibei2022@163.com> Co-authored-by: Yibei Hu <115324670+Yibei990826@users.noreply.github.com>
- Loading branch information
1 parent
e96df1f
commit b71a976
Showing
17 changed files
with
2,694 additions
and
610 deletions.
There are no files selected for viewing
49 changes: 0 additions & 49 deletions
49
nbs/docs/capabilities/anomaly-detection/00_anomaly_detection.ipynb
This file was deleted.
Oops, something went wrong.
220 changes: 0 additions & 220 deletions
220
nbs/docs/capabilities/anomaly-detection/02_anomaly_exogenous.ipynb
This file was deleted.
Oops, something went wrong.
209 changes: 0 additions & 209 deletions
209
nbs/docs/capabilities/anomaly-detection/03_anomaly_detection_date_features.ipynb
This file was deleted.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
nbs/docs/capabilities/historical-anomaly-detection/00_historical_anomaly_detection.ipynb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"id": "6de758ee-a0d2-4b3f-acff-eed419dd17c5", | ||
"metadata": {}, | ||
"source": [ | ||
"# Historical anomaly detection" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"id": "5d267032-535b-4b7b-b7d3-d2db8f673af6", | ||
"metadata": {}, | ||
"source": [ | ||
"This section provides various recipes for performing historical anomaly detection using TimeGPT.\n", | ||
"\n", | ||
"Historical anomaly detection identifies data points that deviate from the expected behavior over a given historical time series, helping to spot fraudulent activity, security breaches, or significant outliers.\n", | ||
"\n", | ||
"The process involves generating predictions and constructing a 99% confidence interval. Data points falling outside this interval are considered anomalies.\n", | ||
"\n", | ||
"This section covers:\n", | ||
"\n", | ||
"* [Historical anomaly detection](https://docs.nixtla.io/docs/capabilities-historical-anomaly-detection-quickstart)\n", | ||
"\n", | ||
"* [Historical anomaly detection with exogenous features](https://docs.nixtla.io/docs/capabilities-historical-anomaly-detection-add_exogenous_variables)\n", | ||
"\n", | ||
"* [Historical anomaly detection with date features](https://docs.nixtla.io/docs/capabilities-historical-anomaly-detection-add_date_features)\n", | ||
"\n", | ||
"* [Modifying the confidence intervals](https://docs.nixtla.io/docs/capabilities-historical-anomaly-detection-add_confidence_levels)" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "python3", | ||
"language": "python", | ||
"name": "python3" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
242 changes: 242 additions & 0 deletions
242
nbs/docs/capabilities/historical-anomaly-detection/02_anomaly_exogenous.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
232 changes: 232 additions & 0 deletions
232
nbs/docs/capabilities/historical-anomaly-detection/03_anomaly_detection_date_features.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
nbs/docs/capabilities/online-anomaly-detection/00_online_anomaly_detection.ipynb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Online (Real-Time) Anomaly Detection" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"Online anomaly detection dynamically identifies anomalies as data streams in, allowing users to specify the number of timestamps to monitor. This method is well-suited for immediate applications, such as fraud detection, live sensor monitoring, or tracking real-time demand changes. By focusing on recent data and continuously generating forecasts, it enables timely responses to anomalies in critical scenarios.\n", | ||
"\n", | ||
"This section provides various recipes for performing real-time anomaly detection using TimeGPT, offering users the ability to detect outliers and unusual patterns as they emerge, ensuring prompt intervention in time-sensitive situations.\n", | ||
"\n", | ||
"This section covers:\n", | ||
"\n", | ||
"* [Online anomaly detection](https://docs.nixtla.io/docs/capabilities-online-anomaly-detection-quickstart)\n", | ||
"\n", | ||
"* [How to adjust the detection process](https://docs.nixtla.io/docs/capabilities-online-anomaly-detection-adjusting_detection_process.ipynb)\n", | ||
"\n", | ||
"* [Univariate vs. multiseries anomaly detection](https://docs.nixtla.io/docs/capabilities-online-anomaly-detection-univariate_vs_multivariate_anomaly_detection)\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [] | ||
} | ||
], | ||
"metadata": {}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
} |
400 changes: 400 additions & 0 deletions
400
nbs/docs/capabilities/online-anomaly-detection/01_quickstart.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.