From examples to a learned model
How algorithms train models from examples to make predictions on new inputs, and which business problems suit this approach. · foundational
Machine learning (ML) is part of artificial intelligence: it learns patterns from examples to make predictions. A training algorithm is the procedure that learns; a model is the learned result. The algorithm and the model are not the same thing.
Consider predicting delivery time. Historical orders provide examples. Input details, called features, could include distance, parcel weight, and shipping method. The actual delivery time is the label: the known answer for an example. Learning from examples with known answers is called supervised learning.
During training, the algorithm adjusts the model's internal values, called parameters. It uses differences between predictions and known answers to guide those adjustments. The aim is to learn useful patterns, not simply store an answer for every past order. Other learning approaches exist, but labeled examples make the basic idea easy to follow.