create supervised learning algorithms