Rank, Inverse & Closed-Form Regression

When a matrix can be undone — and why duplicate features break regression

40 min · interactive lesson with runnable code and 4 graded exercises.

What you'll be able to do

  • Explain linear independence and rank as “independent directions”
  • List the equivalent conditions for an inverse to exist
  • Derive the shapes in w = (XᵀX)⁻¹ Xᵀ y and solve it in NumPy
  • Explain multicollinearity with rank — and what ridge changes

The full lesson is free with an account.

Linear independence

Rank

The inverse

Closed-form linear regression

Multicollinearity