Data Science: Computation of Eigenvectors — Gershgorin circles.

applied.math.coding
2 min readApr 18, 2023

This story is part of my Data Science series.

In this article we restrict our attention to the problem of finding eigenvector/eigenvalue pairs for a finite dimensional linear operator.

In many applications of machine learning one is interested in those eigenvectors that belong to the highest eigenvalues in absolute value. One very prominent example is principle component analysis (see here).

A simple criterion to get an idea where these eigenvalues are located are the Gershgorin circles.

Gershgorin circles:

To get an idea how to apply this, let us compute the Gershgorin circles of the covariance matrix of the feature data from the data obtained from here.

The implementation will be done in Rust.

--

--

applied.math.coding

I am a Software Developer - Java, Rust, SQL, TypeScript - with strong interest doing research in pure and applied Mathematics.