internalsGet Pro

Module 03 · Lesson 6 of 12Pro

Matrix equations: finding many unknowns together

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

When you finish this page you can

  1. Write a set of linear equations as one matrix equation, Ax = b, and read its answer as a mix of the matrix’s columns.
  2. Solve a square system with np.linalg.solve, and explain why it beats multiplying by the inverse.
  3. Tell whether a square system has one answer, none or infinitely many, and what each case means for a model.
  4. Explain why real data gives more equations than unknowns, and what that changes.
  1. NumPy: arrays and vectorized maths14 min
  2. Matrices as transformations of space13 min
  3. Matrix multiplication in practice14 min
  4. Matrix inverses: undoing a transformation16 min

A score nobody can explain

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