liveBook · Manning

Anomaly detection

As explained in Data Without Labels

Anomaly detection is the identification of observations or behaviors that deviate substantially from an expected pattern.

Anomaly detection identifies observations or behaviors that deviate substantially from an expected pattern. It commonly operates as an unsupervised task: the algorithm finds patterns without a target variable, then flags distinguished outliers for attention. section 1.5.2

Useful detection signals include:

  • Unsupervised algorithms learn structure from input data without labels and use departures from discovered patterns to identify anomalies. section 1.5.2
  • Autoencoders use reconstruction error—the difference between actual and reconstructed data—as an anomaly signal. section 9.6
  • UMAP can support anomaly-detection analysis by preserving both local and global structure, especially in complex datasets. section 6.5.3

Network monitoring

A network provider can use historical data with an unsupervised algorithm to find recurring patterns. The resulting outliers become distinguished anomalies that require investigation. section 1.5.2

Figure 1.16 An unsupervised learning algorithm finds patterns in the data on the left and results in clusters on the right.
figure

View how unsupervised learning transforms raw data points into discovered patterns and clusters, the structural basis for identifying unusual points. section 1.5.2

How Data Without Labels covers it

How deep it goes
Defines pattern-based detection and reconstruction error, but stops short of implementation procedures, thresholds, and evaluation metrics.
Examples
Uses network-provider monitoring, outliers in clustered data, and autoencoder reconstruction errors as concrete detection examples.
What it assumes
Assumes input data but teaches the absence of target labels and the use of discovered structure for detection.
What you can do after
Evaluate unusual observations using unsupervised patterns, outliers, or autoencoder reconstruction error.
How it connects
Connects anomaly detection with unsupervised learning, autoencoders, reconstruction error, dimensionality reduction, clustering, and UMAP.

Also explained in

Compare how 7 books explain anomaly detection →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Data Without Labels. The section links point to the parts of the book it draws on.