A least squares estimation method for the linear learning model