Open marigoold opened 3 years ago
https://github.com/yl-1993/learn-to-cluster/blob/3b834589923baf72523e288cc462e0df591b99c1/utils/adjacency.py#L20-L24
The original adjacency matrix built from faiss is not symmetric, so what is the purpose to convert it to symmetric matrix? And why do you implement it in this way?
https://github.com/yl-1993/learn-to-cluster/blob/3b834589923baf72523e288cc462e0df591b99c1/utils/adjacency.py#L8-L17
By the way, what is the purpose of row_normalize, and # if rowsum <= 0, keep its previous value?
# if rowsum <= 0, keep its previous value
https://github.com/yl-1993/learn-to-cluster/blob/3b834589923baf72523e288cc462e0df591b99c1/utils/adjacency.py#L20-L24
The original adjacency matrix built from faiss is not symmetric, so what is the purpose to convert it to symmetric matrix? And why do you implement it in this way?