Supervised learning

Supervised learning is an approach to machine learning in which a model learns from a set of sample data and the associated answers or labels. The model is trained to understand the relationship between the input variables and the correct answers and can then make predictions for new, unknown data. Supervised learning is often used in tasks such as classification, which involves assigning data to predefined categories. Another application is regression, which deals with the prediction of continuous values. Another approach to this is unsupervised learning.