Skip to main content

Feature selection vs feature extraction

Short answer

Feature selection chooses a subset of original attributes, preserving meaning. Feature extraction creates new attributes by transforming originals, often losing interpretability. Selection is used when interpretability matters; extraction when many correlated features exist.

Differentiate between feature selection and feature extraction.

Feature selection chooses a subset of the existing attributes and discards the rest. Feature extraction builds a smaller set of new attributes by transforming or combining all the original ones.

BasisFeature selectionFeature extraction
IdeaSelect the best subset of original featuresCreate new features from the originals
Features afterSame features, fewer in numberNew, transformed features
MeaningOriginal meaning kept; easy to interpretMeaning often lost (e.g. "PC1")
ExamplesInformation gain, chi-square, forward/backward selectionPCA, SVD, LDA, wavelets, autoencoders
InformationDropped features' information is lostInformation from all features is compressed
CostSubset search can be costly (wrappers)Matrix computations (eigenvectors) can be costly
Need to measure the dropped features?No, only the selected ones are needed laterYes, all original features are needed to compute the new ones
Typical useWhen interpretability and cost of measuring matterWhen many correlated features exist; visualisation

Example: from attributes {height, weight, BMI, name}, selection may keep {BMI}; extraction (PCA) would combine height and weight into one component.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Data Mining chapter 2 questions →