Learning Coherent Clusters in Weakly-Connected Network Systems