Supervised learning framework