Supervised learning from incomplete data via an EM approach