internalsGet Pro

Module 03 · Lesson 1 of 12Pro

Vectors: lists of numbers with direction

Level
Beginner
Topic
Linear algebra for machine learning
Reading time
13 min

When you finish this page you can

  1. Read a row of a feature table as a vector, and say what each position means.
  2. Add, subtract and scale vectors by hand and in NumPy, and say what each result means for a customer.
  3. Compute a mean vector for a group and the direction from one group to another.
  4. Spot where vector arithmetic misleads, such as a changed feature order, mixed units or category codes.
  1. Data, features and labels14 min
  2. NumPy: arrays and vectorized maths14 min

One customer went quiet in February

is our example online store. Every Monday, a model scores customers, and Joseph’s growth team sends vouchers to the ones most likely to stop buying. Farah, an ML engineer, builds that model on a sample of 200,000 customers that fits in a free .

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