Supervised learning in presence of outliers, label noise and unobserved classes