結果 : cosine distance function python