parent
09857a579b
commit
3f4e6616a0
|
@ -59,6 +59,7 @@ d = \sqrt[p]{\sum_{k=1}^n \mid x_{1k}-x_{2k} \mid ^p}
|
|||
$$
|
||||
|
||||
5. 余弦距离
|
||||
|
||||
$$
|
||||
cos(\theta) = \frac{\sum_{k=1}^n x_{1k}x_{2k}}{\sqrt{\sum_{k=1}^n x_{1k}^2} \sqrt{\sum_{k=1}^n x_{2k}^2}}
|
||||
$$
|
||||
|
|
Loading…
Reference in New Issue