internalsGet Pro

Module 03 · Lesson 8 of 12Pro

Eigenvectors: the natural axes of a matrix

Level
Intermediate
Topic
Linear algebra for machine learning
Reading time
16 min

When you finish this page you can

  1. Find the directions a 2 × 2 matrix only stretches, and the stretch along each, by hand and with NumPy.
  2. Read a covariance matrix’s eigenvectors as the directions customers spread along, and its eigenvalues as how much.
  3. Choose between np.linalg.eig and np.linalg.eigh, and read their output without the usual ordering and sign mistakes.
  4. Predict whether repeated multiplication by a matrix grows, shrinks or holds a vector, from its eigenvalues.

Builds on 3 lessons

Start with lesson 313 min
  1. Matrices as transformations of space13 min
  2. Matrix multiplication in practice14 min
  3. Rank: spotting redundant features16 min

The customer cloud leans one way

is our example online store. Its ML team predicts which customers will stop buying, so Joseph’s growth team can send them a voucher. Farah, an ML engineer, works on a notebook sample of 200,000 customers.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan