def cos_dis(test_vec, refe_vec):
    vec1 = normalize(test_vec, axis=0)
    vec2 = normalize(refe_vec, axis=0)
    dis = np.matmul(vec1, vec2.T)
    return dis
def cos_dis(test_vec, refe_vec):
    vec1 = normalize(test_vec, axis=0)
    vec2 = normalize(refe_vec, axis=0)
    dis = np.matmul(vec1, vec2.T)
    return dis