A machine learning model is a file that can recognize patterns. In order to learn from a set of data, you must first train a model using an algorithm.