Cosine Similarity, Clearly Explained!!! @statquest
Cosine Similarity, Clearly Explained!!!  @statquest
Uploaded January 2023 | Updated September 2026, 1 week ago
The Cosine Similarity is a useful metric for determining, among other things, how similar or different two text phrases are. I'll be honest, the first time I saw the equation for The Cosine Similarity, I was scared. However, it turns out to be really quite simple, and this StatQuest walks you through it, one-step-at-a-time. BAM!!!

English
This video has been dubbed using an artificial voice via aloud.area120.google.com to increase accessibility. You can change the audio track language in the Settings menu.

Spanish
Este video ha sido doblado al español con voz artificial con aloud.area120.google.com para aumentar la accesibilidad. Puede cambiar el idioma de la pista de audio en el menú Configuración.

Portuguese
Este vídeo foi dublado para o português usando uma voz artificial via aloud.area120.google.com para melhorar sua acessibilidade. Você pode alterar o idioma do áudio no menu Configurações.

For a complete index of all the StatQuest videos, check out:
statquest.org/video-index

If you'd like to support StatQuest, please consider...

Patreon: patreon.com/statquest
...or...
YouTube Membership: youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join

...buying one of my books, a study guide, a t-shirt or hoodie, or a song from the StatQuest store...
statquest.org/statquest-store

...or just donating to StatQuest!
paypal.me/statquest

Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
twitter.com/joshuastarmer

0:00 Awesome song and introduction
1:46 Visualizing the Cosine Similarity for two phrases
6:19 The equation for the Cosine Similarity

#StatQuest #DubbedWithAloud
Cosine Similarity, Clearly Explained!!!Mutual Information, Clearly Explained!!!UMAP Dimension Reduction, Main Ideas!!!Support Vector Machines Part 1 (of 3): Main Ideas!!!Live 2020-04-20!!! Expected ValuesStatQuest with Josh Starmer is live!Human Stories in AI: Khushi JainRegression Trees, Clearly Explained!!!Optimization with Linear Programming (and the Simplex Algorithm), Main Ideas!!!Live 2020-06-01!!! Hypothesis TestingYou Mean So MuchBam!!! Clearly Explained!!!
StatQuest with Josh Starmer |

Cosine Similarity, Clearly Explained!!!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER