My General Problem is: How to do community detection in a weighted undirected social network/graph? Dataset that I want to Cluster looks like this,
DrugA, DrugB,Weight
x,y,6
y,z,9
y,p,5
x,p,3
In my dataset I have multiple nodes of drugs and the weight between them represents the similarity between the drugs.I want to cluster the connected nodes in smaller clusters with nodes with higher weights connected together i.e some sort of minimum cut. Which clustering algorithm can I use to cluster this sort of dataset; preferably from Scikit-learn or NetworkX ?
I have already tried Chinese Whispers but due to the dense connectivity of graph CW end up giving two large Clusters. Any recommendations/suggestions would be greatly appreciated.