Supervised learning by regression