コード例 #1
0
def compare_news_vector_with_1(arr, vec: csr_matrix):
    return 1 - vec._mul_vector(arr)
コード例 #2
0
ファイル: vectorizer.py プロジェクト: aregina/news_project
def compare_news_vector_with_1(arr, vec: csr_matrix):
    return 1 - vec._mul_vector(arr)