সম্পাদনা
from scipy import spatial first = [1, 2, 3] second = [2, 4, 6] result = spatial.distance.cosine( first, second ) print(result)
পূর্বরূপ