AI GLOSSARY · AI CONCEPTS
Dimensionality reduction
Definition
Dimensionality reduction is a family of methods that represent a dataset with fewer features, called dimensions, while trying to keep the structure that matters, so the data is easier to store, visualize or feed to a model.
Also called: dimension reduction, dimensionality reduction techniques, dimensionality reduction machine learning, reduce dimensions.
In plain language
Imagine a spreadsheet with hundreds of columns describing each customer. Many columns overlap or add little, and nobody can plot hundreds of columns on a page. Dimensionality reduction squeezes the table down to a handful of new columns that still capture much of the pattern, so you can draw it, speed up a model or spot groups. The cost is that something is lost: the new columns are summaries, so they can be harder to explain, and a method chosen for a picture may mislead if you read it as a measurement. IBM notes that models trained on very wide data often generalize poorly, which is one reason people reduce it.
Technical definition
Dimensionality reduction maps data from a space with many features to one with fewer, either by selecting a subset of the original features or by building new ones. Linear methods such as principal component analysis project the data onto directions chosen to keep variance. Non-linear methods, often grouped as manifold learning, assume the data lies near a lower-dimensional curved surface; scikit-learn describes manifold learning as an approach to non-linear dimensionality reduction. t-SNE is a non-linear method whose main purpose, per scikit-learn, is visualization in two or three dimensions. Many of these methods are unsupervised: they learn structure from the data without labels.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
data-analysis-eda 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A fixed exploratory-analysis procedure and CSV profiler that keeps findings descriptive, evidenced and caveated.
- Why it exercises the concept
- Profiling a wide CSV is the step before you decide whether to reduce its columns. This inspected profiler is an adjacent data check, not a dimensionality-reduction implementation.
Skill by Hugging Face · Illustrative, not executed
huggingface-datasets 25/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Reads Hugging Face datasets through the Dataset Viewer API: metadata, rows, search and filters.
- Why it exercises the concept
- Public datasets often come with many columns. Reading their metadata and rows shows how wide the data is before you reduce it. This skill reads data; it does not reduce it.
Skill by Skill Almanac · Illustrative, not executed
split-leakage-check 53/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A check of train, validation and test files for duplicates, shared groups, time and label leakage, printed as JSON.
- Why it exercises the concept
- A reduction step learned on all the data can leak information from the test set into training. This checker flags selected split-file signals, not the preprocessing fit history. It cannot detect every learned-preprocessing leak or certify a valid reduction pipeline.
Coding tool · Illustrative, not executed
Claude Code
- What you see
- Claude Code's overview page describes it as an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools.
- Why it exercises the concept
- A coding agent can write and run a short scikit-learn script that reduces a dataset to two columns, which is a quick way to try the idea on your own data.
How it shows up when you use agents
Dimensionality reduction is a data-preparation and exploration technique, so you will not meet it while prompting Claude Code, Codex or Cursor about ordinary code. It appears when you ask an agent to explore a wide dataset or build a machine learning pipeline: a two-dimensional scatter plot of rows, a compressed set of columns fed to a model, or a plot of text vectors called embeddings.
What breaks when it is misunderstood: people read a picture as a measurement. scikit-learn notes that t-SNE does not explicitly preserve global structure and that different random seeds can give different embeddings, so the distance between two clusters in the plot is not a reliable quantity. A failure to see separated groups in two dimensions also does not show that a model could not separate them.
Next actions. For an inductive reducer with an out-of-sample transform, fit on training data only and transform validation/test data with that fitted mapping. Scikit-learn t-SNE has no general transform for new samples, so treat its visualization separately. Review preprocessing code as well as the split-file signals from split-leakage-check. Start with the linear method in Principal component analysis before trying non-linear ones. Treat a reduced table as a summary of your data, not the data itself.
Common confusions
- Dimensionality reduction versus principal component analysis. Dimensionality reduction is the goal and a family of methods. PCA is one linear method for it, with its own page. See Principal component analysis.
- Reduction versus feature selection. Selection keeps some of the original columns. Methods such as PCA build new columns that combine the originals. See Feature engineering.
- Visualization versus modelling. t-SNE is described by scikit-learn as mainly for visualization in two or three dimensions. Using its output as a general-purpose input to a model is a different decision that needs its own check.
- Myth. Fewer dimensions means a better model. Reduction discards information, so test whether the reduced data helps on held-out examples, which also guards against overfitting.
Related terms
Terms that mention Dimensionality reduction
More in AI concepts
Sources
- What is dimensionality reduction?, IBM (accessed 2026-11-24)
- 2.2. Manifold learning, scikit-learn (accessed 2026-11-24)
- 2.5. Decomposing signals in components (matrix factorization problems), scikit-learn (accessed 2026-11-24)
- TSNE: fit and fit_transform methods, scikit-learn (accessed 2026-11-25)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.
Review record
Last verified
Drafted by Claude (original draft); OpenAI Codex (bounded factual repairs); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .
Change log (5)
- : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
- : First version.
- : Verifier pass: applied wording corrections from the verification list.
- : Bounded source repairs: Scoped fit/transform advice to inductive reducers; stated t-SNE API limitation and split-file checker exclusions. Pending independent re-review.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.