In the artificial intelligence study, "Learning" is "Machine Learning". Machine Learning is a method that computers do try-and-error. It is opposite the method of least squares because the solution of machine learning is not one.
Machine learning use rules, for example, "If the number is stable, stop the calculation."
Reinforcement Learning uses experience that "This way gave me more reward than the previous try."