# Anomaly Detection Methods

> Techniques for identifying unusual patterns and outliers in data, including statistical methods, clustering-based approaches, and isolation forests

- **Canonical URL:** https://flashcards.world/flashcards/sets/ec2b6a76-2847-43c9-b65e-498faa474977/
- **Markdown URL:** https://flashcards.world/flashcards/sets/ec2b6a76-2847-43c9-b65e-498faa474977.md
- **Level:** intermediate
- **Languages:** en → en
- **Total Cards:** 49

## Flashcards (49 Cards)

| # | Front (Term / Prompt) | Back (Definition / Answer) | Example | Multiple-Choice Options |
| :--- | :--- | :--- | :--- | :--- |
| 1 | What is the purpose of the IQR method in anomaly detection? | The Interquartile Range (IQR) method identifies outliers by measuring the spread of the middle 50% of the data. |  |  |
| 2 | What is the role of unsupervised learning in anomaly detection? | Unsupervised learning techniques identify patterns and anomalies in data without prior labeling, making them suitable for many anomaly detection tasks. |  |  |
| 3 | What is the significance of model interpretability in anomaly detection? | Model interpretability allows users to understand how and why anomalies are detected, which is crucial for trust and decision-making. |  |  |
| 4 | What is a hybrid approach in anomaly detection? | A hybrid approach combines multiple anomaly detection techniques to leverage their strengths and improve overall performance. |  |  |
| 5 | What is the role of machine learning in anomaly detection? | Machine learning algorithms can learn from data patterns and improve anomaly detection accuracy through training on historical data. |  |  |
| 6 | What is a contextual anomaly? | A contextual anomaly is a data point that is considered anomalous only within a specific context or environment. |  |  |
| 7 | What is precision in the context of anomaly detection? | Precision is the ratio of true positive anomalies to the total predicted anomalies, indicating the accuracy of the model. |  |  |
| 8 | What is the role of clustering in identifying anomalies? | Clustering groups similar data points together, allowing for the identification of points that do not fit well into any cluster as anomalies. |  |  |
| 9 | What is the role of time series analysis in anomaly detection? | Time series analysis helps identify anomalies in data that is indexed in time order, often used in monitoring applications. |  |  |
| 10 | What is the role of dimensionality reduction in anomaly detection? | Dimensionality reduction techniques, like PCA, help simplify data while preserving important patterns, making anomaly detection more effective. |  |  |
| 11 | What is a point anomaly? | A point anomaly is a single data point that is significantly different from the rest of the data. |  |  |
| 12 | What is recall in anomaly detection? | Recall is the ratio of true positive anomalies to the total actual anomalies, measuring the model's ability to identify all relevant cases. |  |  |
| 13 | What is the difference between supervised anomaly detection and semi-supervised anomaly detection? | Supervised anomaly detection uses fully labeled data, while semi-supervised uses a small amount of labeled data alongside a larger amount of unlabeled data. |  |  |
| 14 | What is a confusion matrix? | A confusion matrix is a table used to evaluate the performance of a classification model by comparing predicted and actual outcomes. |  |  |
| 15 | What is the significance of ROC curve in anomaly detection? | The ROC curve helps evaluate the performance of an anomaly detection model by plotting the true positive rate against the false positive rate. |  |  |
| 16 | What is the significance of the threshold in anomaly detection? | The threshold determines the cutoff for classifying data points as normal or anomalous. |  |  |
| 17 | What is the Mahalanobis distance? | Mahalanobis distance is a measure of the distance between a point and a distribution, accounting for correlations in the data. |  |  |
| 18 | What is the difference between hard and soft anomaly detection? | Hard anomaly detection classifies points strictly as normal or anomalous, while soft anomaly detection provides a probability score for each point. |  |  |
| 19 | What is the impact of noise on anomaly detection? | Noise can obscure true anomalies and lead to false positives, making it essential to filter out noise before detection. |  |  |
| 20 | What is the role of distance metrics in clustering? | Distance metrics, like Euclidean or Manhattan distance, help determine the similarity between data points in clustering. |  |  |
| 21 | What is the impact of feature scaling on anomaly detection? | Feature scaling ensures that all features contribute equally to distance calculations, improving the effectiveness of many anomaly detection algorithms. |  |  |
| 22 | What is the F1 score? | The F1 score is the harmonic mean of precision and recall, providing a balance between the two metrics. |  |  |
| 23 | How is the IQR calculated? | IQR is calculated as Q3 (75th percentile) minus Q1 (25th percentile). |  |  |
| 24 | What is the concept of ensemble learning? | Ensemble learning combines multiple models to improve predictive performance and robustness over individual models. |  |  |
| 25 | What is Principal Component Analysis (PCA)? | PCA is a statistical technique used to reduce the dimensionality of data by transforming it into a set of uncorrelated variables called principal components. |  |  |
| 26 | What are the two main types of anomalies? | Point anomalies and contextual anomalies. |  |  |
| 27 | What is a seasonal decomposition in time series analysis? | Seasonal decomposition separates a time series into trend, seasonal, and residual components to better identify anomalies. |  |  |
| 28 | What are ensemble methods in anomaly detection? | Ensemble methods combine multiple models to improve the robustness and accuracy of anomaly detection. |  |  |
| 29 | What is the significance of data visualization in anomaly detection? | Data visualization helps in understanding data distributions and identifying potential anomalies visually. |  |  |
| 30 | What is DBSCAN? | DBSCAN (Density-Based Spatial Clustering of Applications with Noise) is a clustering algorithm that can identify outliers as noise. |  |  |
| 31 | What is the significance of anomaly detection in finance? | Anomaly detection in finance helps identify fraudulent transactions, assess risks, and ensure compliance with regulations. |  |  |
| 32 | What is a threshold-based anomaly detection method? | Threshold-based methods classify data points as anomalies if they exceed a predefined threshold value. |  |  |
| 33 | What is the role of domain knowledge in anomaly detection? | Domain knowledge helps in defining what constitutes an anomaly and in selecting appropriate features and methods for detection. |  |  |
| 34 | What is a clustering-based approach to anomaly detection? | Clustering-based approaches group data points into clusters and identify points that do not belong to any cluster as anomalies. |  |  |
| 35 | What is the difference between supervised and unsupervised anomaly detection? | Supervised anomaly detection uses labeled data, while unsupervised methods do not require labeled data. |  |  |
| 36 | What is the main advantage of using Isolation Forests? | Isolation Forests are efficient for high-dimensional datasets and do not require extensive parameter tuning. |  |  |
| 37 | What is the purpose of feature selection in anomaly detection? | Feature selection helps to identify the most relevant attributes that contribute to detecting anomalies, improving model performance. |  |  |
| 38 | What is the significance of anomaly detection in cybersecurity? | Anomaly detection is vital in cybersecurity for identifying unusual patterns that may indicate security breaches or attacks. |  |  |
| 39 | What is the significance of real-time anomaly detection? | Real-time anomaly detection allows for immediate response to anomalies, which is critical in applications like fraud detection and network security. |  |  |
| 40 | What is the difference between global and local anomaly detection? | Global anomaly detection considers the entire dataset, while local anomaly detection focuses on specific subsets or neighborhoods. |  |  |
| 41 | What is the significance of cross-validation in anomaly detection? | Cross-validation helps assess the generalizability of the anomaly detection model by testing it on different subsets of data. |  |  |
| 42 | What is a common statistical method for anomaly detection? | Z-score analysis is a common statistical method used to identify outliers based on standard deviations from the mean. |  |  |
| 43 | What is the Z-score? | The Z-score measures how many standard deviations a data point is from the mean of the dataset. |  |  |
| 44 | What is the role of data preprocessing in anomaly detection? | Data preprocessing involves cleaning and transforming data to improve the quality and effectiveness of anomaly detection methods. |  |  |
| 45 | Why is anomaly detection important? | It is crucial for identifying fraud, network intrusions, and faults in industrial systems, among other applications. |  |  |
| 46 | What is an Isolation Forest? | An Isolation Forest is an ensemble method specifically designed for anomaly detection that isolates anomalies instead of profiling normal data. |  |  |
| 47 | What is the Local Outlier Factor (LOF)? | LOF is a density-based anomaly detection method that compares the local density of a point with that of its neighbors. |  |  |
| 48 | How does the Isolation Forest algorithm work? | It works by randomly partitioning the data and creating isolation trees, where anomalies are more easily isolated than normal points. |  |  |
| 49 | What is anomaly detection? | Anomaly detection is the process of identifying patterns in data that do not conform to expected behavior. |  |  |

---
Study this deck interactively with FSRS-6 spaced repetition, audio review, and multiple-choice mode at [Flashcards World](https://flashcards.world/flashcards/sets/ec2b6a76-2847-43c9-b65e-498faa474977/).
