Before talking about generalization in machine learning, it’s important to first understand what supervised learning is. To answer, supervised learning in the domain of machine learning refers to a way for the model to learn and understand data. With supervised learning, a set of labeled training data is given to a model. Based on this training data, the model learns to make predictions. The more training data is made accessible to the model, the better it becomes at making predictions. When you’re working with training data, you already know the outcome. Thus, the known outcomes and the predictions from the model are compared, and the model’s parameters are altered until the two line up. The aim of the training is to develop the model’s ability to generalize successfully.