📅  最后修改于: 2022-03-11 14:47:16.452000             🧑  作者: Mango
# 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