A generic recommendation algorithm, learnt based on graphs.