liveBook · Manning

High-dimensional data

As explained in Outlier Detection in Python

A high-dimensional dataset is a dataset whose observations are represented by a large number of feature dimensions.

High-dimensional data represents each observation with many feature dimensions, often dozens, hundreds, or thousands of columns. Outlier detection usually considers all features together rather than inspecting every possible feature subset. section 2.5 section 3.1

More dimensions make unusualness harder to interpret and can weaken algorithms. Distances may become meaningless, detectors may become slow or ineffective, and records can appear anomalous simply because many opportunities exist for unusual values. section 3.1 section 10.1

High-dimensional outlier analysis requires several cautions:

  • Treat an observation unusual in one feature as potentially unusual in any higher-dimensional space containing that feature, while recognizing that the effect can weaken when other features look typical. section 2.5
  • Expect many observations to lie near the margins of the data space; tests based on abnormality can therefore flag nearly every record. section 3.1.2
  • Prefer explanations involving a single feature or a small combination of features, because patterns requiring many features are harder to interpret and less reliable. section 3.1
  • Reduce the feature set with dimensionality reduction or train multiple models on feature subspaces to improve efficiency and reliability. section 10.1

Why margins dominate

If 90% of records lie near the center in each dimension, only 0.9^20, about 12%, lie near the center across 20 dimensions; with 40 dimensions, about 1.5% do. Most records consequently appear near a margin. section 3.1.2

Figure 2.16 Two-dimensional scatterplot of data. Some points at the right side of the plot can be considered outliers in the x dimension. Any such outliers will automatically also be outliers in any higher-dimensional space that includes this dimension.

Use the two-dimensional scatterplot to visualize why an observation unusual in one feature can remain unusual in higher-dimensional spaces containing that feature. section 2.5

How Outlier Detection in Python covers it

How deep it goes
Explains dimensionality effects, margin concentration, interpretability limits, and reduction strategies without deriving detector-specific algorithms.
Examples
Uses a two-dimensional scatterplot and 20- and 40-dimensional center-versus-margin calculations to illustrate high-dimensional behavior.
What it assumes
Assumes familiarity with features, datasets, and outlier detection while establishing the main difficulties of many-dimensional analysis.
What you can do after
Apply dimensionality reduction or feature-subspace modeling when high-dimensional data makes outlier detection inefficient, unreliable, or difficult to interpret.
How it connects
Connects high-dimensional data with outlier detection, the curse of dimensionality, distance measures, dimensionality reduction, and feature subspaces.

Also explained in

Compare how 3 books explain high-dimensional data →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Outlier Detection in Python. The section links point to the parts of the book it draws on.