internalsGet Pro

Module 03 · Lesson 7 of 12Pro

Rank: spotting redundant features

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

When you finish this page you can

  1. Find a redundant column in a feature table by writing it as a mix of the other columns.
  2. Explain why a feature table with a redundant column gives a linear model many equally good sets of weights.
  3. Check a table’s rank with np.linalg.matrix_rank and choose a tolerance that matches how the data was measured.
  4. Choose between dropping, merging and penalizing redundant features.

Builds on 3 lessons

Start with lesson 313 min
  1. Matrices as transformations of space13 min
  2. Matrix inverses: undoing a transformation16 min
  3. Matrix equations: finding many unknowns together15 min

The weights flipped, the predictions didn’t

is our example online store. Farah, an ML engineer, works on a notebook sample of 200,000 customers. For Joseph’s growth team, she fits a linear model that predicts how much each customer will spend in the next 90 days. Joseph reads its to decide which habits his team should encourage.

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