You can use this assignment in your class!
Mastery Progress(100.0%)
i

Cosine Similarity Practice

What's the cosine similarity between [72, 26, -42, -3] and [-73, -4, -11, 85]?

You answeredJUST NOW

(Student response here)

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchJAN 25, 2021, 12:05:20 AM

(72×73)+(26×4)+(42×11)+(3×85)722+262+422+32×732+42+112+852 == (5256)+(104)+(462)+(255)5184+676+1764+9×5329+16+121+7225 == 51537633×12691 0.524

Was this helpful?

(Voting helps us personalize your learning experience!)
imgCosine similarity formula
By Alec Kretch (Apr 12, 2024)

Was this helpful?

(Voting helps us personalize your learning experience!)
imgCosine similarity example clip

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?

What's the cosine similarity between [-38, -94, -58, 88, 49] and [70, -27, 51, 72, 36]?

Select one of the following options:
  • A.

    -0.675

  • B.

    0.268

  • C.

    -0.268

  • D.

    0.675

  • E.

    0.286

Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.