I'd go for Markov clustering.
Essentially, the algorithm is having a random walk on a graph.
Random walks are super easy to implement if you have the proximity matrix.
The algorithm is roughly:
- Normalize the matrix.
- Raise it to a large power (
M**n
).
- Look at the strength of the connections between nodes.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…