Similarity between nodes in the same graph

If i have cora dataset as in the link https://linqs-data.soe.ucsc.edu/public/lbc/cora.tgz. Two nodes are considered similar if they share many of the same neighbors. So i want to calculate Node Similarity algorithm between each pair of nodes that is exist in cora.cites in above link. Please, can anyone help me

Hi, DGL currently does not have such function built-in. Maybe you could convert a DGLGraph to networkx via to_networkx() and use NetworkX’s Simrank similarity?

1 Like

Thank you very much, minjie

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.