Ejemplares similares: Bayesian reasoning and machine learning