Supervised learning with probabilistic morphisms and kernel mean embeddings