Revisiting representation learning in complex networks with applications to recommender systems