Quiz · 4 questions
↗️ Vectors: Magnitude × Direction
The carrier across multidimensional space
Level 0Math Novice
0 XP0/59 lessons0/13 achievements
0/100 XP to next level100 XP to go0% complete
Quiz
01What does a vector have that a scalar doesn't?
02What's the difference between
np.array(5) and np.array([5]) in NumPy?Hint
Print
.shape on each — that's the tell.03What does the dot product secretly measure?
04Why does L1 regularization (penalizing the sum of absolute weights) tend to drive some weights *exactly* to zero, while L2 regularization just makes them small?
Hint
Think about what 'gradient near zero' looks like for each penalty.
Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.