_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › Similarity
|
|
[edit]
1 Consine Similarity #
谿瑚: AB = |A||B|Cos慮
A <- c(1,2,3,4,5) B <- c(6,7,8,9,10) sum(A*B) / (sqrt(sum(A^2)) * sqrt(sum(B^2)))
覯″郁 企 螳 0 企 Cos慮 = 1企. 讀, 覯″一 覦レ 螳る 蠍.
鏤
|
襷 企Π 蟷伎讌 覈詩 れ企 . 覿螳レ企 蟾 伎蟆 企 譟伎讌 . |