QUESTION 4 OF 10

How do you calculate the L2 norm of a vector?

Reveal the answer and explore the explanation.

04
MediumHigh priority

How do you calculate the L2 norm of a vector?

Answer
Answer

Square root of the sum of squared coordinates.

Practical example

Measure the length of an embedding vector.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As