Nishimori meets Bethe: a spectral method for node classification in sparse weighted graphs. (24th September 2021)