ai_anomaly_detection
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ai_anomaly_detection [2025/05/24 14:38] – [Best Practices] eagleeyenebula | ai_anomaly_detection [2025/06/26 18:20] (current) – [AI Anomaly Detection] eagleeyenebula | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== AI Anomaly Detection ====== | ====== AI Anomaly Detection ====== | ||
| - | * **[[https:// | + | [[https:// |
| The **AI Anomaly Detection** system is a Python-based utility that identifies outliers in datasets using statistical principles like standard deviation. This function is essential for finding anomalous data points that deviate significantly from the dataset' | The **AI Anomaly Detection** system is a Python-based utility that identifies outliers in datasets using statistical principles like standard deviation. This function is essential for finding anomalous data points that deviate significantly from the dataset' | ||
| + | |||
| + | |||
| + | {{youtube> | ||
| + | |||
| ===== Overview ===== | ===== Overview ===== | ||
| Line 23: | Line 28: | ||
| **Threshold for Anomalies**: | **Threshold for Anomalies**: | ||
| Data points are considered anomalies if they fall outside the range: | Data points are considered anomalies if they fall outside the range: | ||
| + | < | ||
| [mean - (3 * standard deviation), mean + (3 * standard deviation)] | [mean - (3 * standard deviation), mean + (3 * standard deviation)] | ||
| + | </ | ||
| ==== 2. Logging Information ==== | ==== 2. Logging Information ==== | ||
| Line 34: | Line 39: | ||
| **Example Log Messages**: | **Example Log Messages**: | ||
| + | < | ||
| INFO: Detecting anomalies in the data... INFO: Anomalies detected: [120, -45] | INFO: Detecting anomalies in the data... INFO: Anomalies detected: [120, -45] | ||
| + | </ | ||
| ====== Function Details ====== | ====== Function Details ====== | ||
| Line 44: | Line 49: | ||
| **Signature**: | **Signature**: | ||
| - | python | + | < |
| + | python | ||
| def detect_anomalies(data: | def detect_anomalies(data: | ||
| """ | """ | ||
| Line 51: | Line 57: | ||
| :return: List of anomalies detected | :return: List of anomalies detected | ||
| """ | """ | ||
| + | </ | ||
| ===== Examples ===== | ===== Examples ===== | ||
ai_anomaly_detection.1748097502.txt.gz · Last modified: 2025/05/24 14:38 by eagleeyenebula
