Create Learning Algorithm