liveBook · Manning

Eigenvalue

As explained in Cyber Threat Hunting

An eigenvalue associated with a principal component quantifies the amount of variance that component captures from the data.

An eigenvalue measures how important a principal component is by indicating how much variation in the data that component captures. Larger eigenvalues identify stronger components; smaller eigenvalues identify weaker ones. section 9.2.5

Use eigenvalues to interpret PCA results:

  • Read principal components in descending strength because PCA orders them by the variance they explain. section 9.2.5
  • Treat a component explaining 80% of the original variance as strong and one explaining 5% as weak. section 9.2.5
  • Inspect cumulative explained variance to select a component count where additional variance becomes negligible; the illustrated choice is four. section 9.2.5

Choosing components after scaling

After scaling X_train, fit PCA and plot cumulative explained variance. The curve levels off at four components, while PC1 has the highest eigenvalue and the final component the lowest.

How Cyber Threat Hunting covers it

How deep it goes
Defines component strength, explains variance-based ordering, and stops short of deriving eigenvalues mathematically.
Examples
Uses 80% and 5% variance examples, PC1 versus the weakest component, and a four-component cumulative-variance plot.
What it assumes
Assumes scaled feature data and PCA, while defining eigenvalue and component strength directly.
What you can do after
Evaluate PCA components and select a retention count using eigenvalue strength and cumulative explained variance.
How it connects
Connects principal component analysis, principal components, explained variance, feature scaling, and dimensionality reduction.

Also explained in

Compare how 5 books explain eigenvalue →

Related concepts

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