সম্পাদনা
from scipy import spatial first = [1, 0, 1, 1] second = [1, 1, 0, 1] result = spatial.distance.jaccard( first, second ) print(result)
পূর্বরূপ