Question: what is the difference between optimization and machine learning?
Answer: The difference is very slim between machine learning (ML) and optimization theory. In ML the idea is to learn a function that minimizes an error or one that maximizes reward over punishment. ... The goal for ML is similarly to optimize the performance of a model given an objective and the training data.