📜  jaccard距离python代码示例

📅  最后修改于: 2022-03-11 14:47:16.452000             🧑  作者: Mango

代码示例1
# credit to Sci-Py documentation

from scipy.spatial import distance

distance.jaccard(x, y)

# x, y: array with shape (N, )
# optional argument: weights of x