AI Hints
Statistics & Math for ML · Lesson 90 of 138

Linear Algebra Quiz

Test yourself.

⏱ 2 min read▶ Video at 1:46:02🎓 Free
Watch this lesson in the Statistics & Math for ML courseWatch on YouTube ↗Full Statistics & Math for ML course

Time to check your linear algebra. Pause before each answer.

Linear Algebra Quiz
From the video: Linear Algebra Quiz
  • Five questions
  • Pause and think
  • Then listen

Question 1

What does the dot product of a feature vector and a weight vector give you in a linear model? The answer is the prediction.

Quick check
features · weights = ?

Question 2

Which measure compares only the direction of two vectors, ignoring their length? The answer is cosine similarity.

Quick check
Direction only?

Question 3

Can you multiply a four by three matrix by a three by two matrix? Yes. The inner sizes match, and the result is four by two.

Quick check
(4×3) @ (3×2)?

Question 4

Which function should you prefer for solving AX equals B? The answer is lin alg dot solve.

Quick check
Solve Ax = b?

Question 5

PCA's components are the eigenvectors of which matrix? The answer is the covariance matrix.

Quick check
PCA uses the eigenvectors of?

Summary

Great work. Next, a new section, calculus, and how models learn, starting with slopes.

Key takeaways
  • Dot products predict
  • Shapes must match
  • PCA from covariance
Next up: Slopes and Rates — how fast it changes