Similarity between nodes in the same graph

If i have cora dataset as in the link 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