From b5a734a1b73c319e6b6ccb2a40b7e6ff58a2544f Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 8 Jan 2025 20:22:19 +0800 Subject: [PATCH] Update dot product --- tutorials.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials.md b/tutorials.md index a559f74..c2c488b 100644 --- a/tutorials.md +++ b/tutorials.md @@ -43,7 +43,7 @@ - Cos close to 0: orthogonal, not related - Cos close to -1: opposite - Calculation: - $Similarity(A,B) = cos(\theta) = \frac{A \dot B}{||A||\times||b||}$ + $Similarity(A,B) = cos(\theta) = \frac{A \cdot B}{||A||\times||b||}$ - $\theta$ is the angle between vectors - $A \dot B$ is the dot product, $A_1 B_1 + A_2 B_2 + ... + A_n B_n$ - $||A||$ is the magnitude of vector,