Weighted Community Detection and Data Clustering Using Message Passing — arXiv2