Supervised Learning Algorithm Example Math