The goal of model training is to fit the best combination to a machine learning algorithm to optimize it. The purpose is to build the best mathematical representation of the relationship between data features and a target label.