Nonparametric weighted stochastic block models.