码迷,mamicode.com
首页 > 其他好文 > 详细

cosine similarity

时间:2016-12-03 01:17:32      阅读:205      评论:0      收藏:0      [点我收藏+]

标签:str   pen   space   ica   osi   atl   out   target   other   

Cosine similarity is a measure of similarity between two non zero vectors of an inner product space that measures the cosine of the angle between them. The cosine of 0° is 1, and it is less than 1 for any other angle. It is thus a judgment of orientation and not magnitude: two vectors with the same orientation have a cosine similarity of 1, two vectors at 90° have a similarity of 0, and two vectors diametrically opposed have a similarity of -1, independent of their magnitude. Cosine similarity is particularly used in positive space, where the outcome is neatly bounded in [0,1].

cosine similarity

标签:str   pen   space   ica   osi   atl   out   target   other   

原文地址:http://www.cnblogs.com/xiangping/p/6127631.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!