距离和相似度

sklearn.metrics.pairwise.cosine_similarity
http://scikit-learn.org/stable/modules/generated/sklearn.metrics.pairwise.cosine_similarity.html#sklearn.metrics.pairwise.cosine_similarity

sklearn.metrics.pairwise.pairwise_distances
https://scikit-learn.org/stable/modules/generated/sklearn.metrics.pairwise_distances.html#sklearn.metrics.pairwise_distances

sklearn.metrics.pairwise_distances_argmin
http://scikit-learn.org/stable/modules/generated/sklearn.metrics.pairwise_distances_argmin.html#sklearn.metrics.pairwise_distances_argmin

scipy.spatial.distance.cdist
https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.cdist.html#scipy.spatial.distance.cdist

scipy.spatial.distance.pdist
https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.pdist.html#scipy.spatial.distance.pdist

scipy.stats.pearsonr
https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.pearsonr.html

posted @ 2018-12-12 11:44  jingsupo  阅读(414)  评论(0编辑  收藏
我要啦免费统计