Principal component
A principal component is an orthogonal direction in transformed data space that captures a ranked amount of variation in the data.
Build AI Drug Discovery Pipelines
A principal component is a transformed feature formed as a linear combination of original features that captures a successive amount of data variance.
- How it is used
- Uses PCA to compress molecular feature spaces for chemical-space visualization and downstream classification.
- How deep it goes
- Explains component construction, orthogonal axes, variance ordering, projection, and retaining k components, without deriving PCA mathematically.
- Examples
- Uses FDA-approved drug fingerprints, USAN stem regions, two-dimensional component cross-sections, and a four-component PCA implementation.
- What you can do after
- Apply it via sklearn PCA to reduce molecular fingerprints and visualize or model patterns in chemical space.
Read how Build AI Drug Discovery Pipelines explains principal component →
Data Without Labels
A principal component is an orthogonal direction produced by principal component analysis that captures a ranked amount of variation in the data.
- How it is used
- Reduces high-dimensional datasets while retaining important variation for further analysis and modeling.
- How deep it goes
- Defines ranked orthogonal directions and connects them to eigenvalue decomposition, but defers nonlinear dimensionality-reduction methods.
- Examples
- Uses house-value estimation, weighted variable combinations, vector-space projections, and successive orthogonal directions.
- What you can do after
- Apply PCA to replace many numeric variables with fewer variance-ranked components for subsequent analysis.
Math and Architectures of Deep Learning
The projection values of data onto a principal axis in PCA, representing coordinates along that direction.
- How it is used
- Uses projected coordinates to expose dominant variation, reduce dimensionality, compress data, and represent document topics.
- How deep it goes
- Explains variance maximization, covariance eigenvectors, projections, dimensionality reduction, compression, and SVD computation.
- Examples
- Uses geometric 2D and 3D projections, compressed datasets, correlated document terms, and a 500-vector PyTorch SVD experiment.
- What you can do after
- Apply it via PCA or SVD to project data, retain dominant coordinates, reduce dimensions, and identify high-variance topics.
Read how Math and Architectures of Deep Learning explains principal component →
Outlier Detection in Python
A principal component is an orthogonal direction representing a decreasing amount of variance in data after successive components are selected.
- How it is used
- Uses transformed coordinates for dimensionality reduction, visualization, and outlier detection.
- How deep it goes
- Explains coordinate transformation, variance ordering, component independence, and practical weighting, without deriving the underlying mathematics.
- Examples
- Demonstrates correlated synthetic data, two contrasting outliers, component scatterplots, and detector comparisons using selected components.
- What you can do after
- Apply it via scikit-learn to transform features, inspect explained variance, and prepare component scores for univariate outlier tests.
Read how Outlier Detection in Python explains principal component →
Natural Language Processing in Action, Second Edition
A principal component is an orthonormal direction in transformed data space along which variance is maximized subject to the preceding components.
- How it is used
- Reduces high-dimensional data to compact coordinates for preserving dominant variation, analysis, clustering, and visualization.
- How deep it goes
- Explains geometric intuition, variance ordering, projection, sign ambiguity, and transformation of new points, while deferring deeper SVD applications.
- Examples
- Uses a 3D point cloud reduced to two plotted coordinates with scikit-learn.
- What you can do after
- Apply it via scikit-learn to transform point clouds and inspect lower-dimensional representations.
Read how Natural Language Processing in Action, Second Edition explains principal component →
Cyber Threat Hunting
A principal component is a derived feature formed by combining original features and representing a direction of variation in the data.
- How it is used
- Reduces correlated feature sets before applying supervised machine-learning models.
- How deep it goes
- Defines component formation and demonstrates scaling, variance inspection, transformation, and visualization without deriving the underlying mathematics.
- Examples
- Uses X_train_scaled, four transformed columns, cumulative-variance plots, and class-colored PC1–PC2 and PC3–PC4 plots.
- What you can do after
- Apply PCA via scikit-learn after scaling features and choose a component count using cumulative explained variance.
Read how Cyber Threat Hunting explains principal component →
Also covered in
What to know first
- diagonal matrixA diagonal matrix is a square matrix whose entries outside the main diagonal are zero.
- varianceVariance is the expected squared deviation of a random variable from its mean and measures the dispersion of its values.
- eigenvalueAn eigenvalue is a scalar by which a linear transformation scales a corresponding nonzero eigenvector without changing its direction.
- eigenvectorAn eigenvector is a nonzero vector that a linear transformation maps to a scalar multiple of itself.
Related concepts
- principal component analysisproduced by · Principal component analysis is a linear statistical technique that represents data along orthogonal directions, called principal components, ordered by the variance they capture.
- covariance matrixproduced by · A covariance matrix is a square matrix whose diagonal entries are variances and whose off-diagonal entries are pairwise covariances among variables.
- dimensionkind of · A dimension is an independent coordinate or feature axis used to represent points or data; the dimensionality of a representation is the number of such axes or components.
- weighted sumkind of · A weighted sum is an expression formed by multiplying quantities by corresponding scalar coefficients and adding the resulting products.
- eigenvectorequivalent to · An eigenvector is a nonzero vector that a linear transformation maps to a scalar multiple of itself.
Questions about principal component
What is principal component?
A principal component is an orthogonal direction in transformed data space that captures a ranked amount of variation in the data.
Which Manning books explain principal component?
Build AI Drug Discovery Pipelines, Data Without Labels, Math and Architectures of Deep Learning, Outlier Detection in Python, Natural Language Processing in Action, Second Edition and Cyber Threat Hunting.
What should I know before learning principal component?
Manning books that teach principal component usually introduce diagonal matrix, variance, eigenvalue and eigenvector first.
What is principal component a kind of?
Principal component is a kind of dimension. A dimension is an independent coordinate or feature axis used to represent points or data; the dimensionality of a representation is the number of such axes or components.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.





