Example #1
0
def compare_news_vector_with_1(arr, vec: csr_matrix):
    return 1 - vec._mul_vector(arr)
Example #2
0
def compare_news_vector_with_1(arr, vec: csr_matrix):
    return 1 - vec._mul_vector(arr)