What is the difference between supervised and unsupervised learning?
Supervised learning trains on labeled examples — you have inputs and the correct outputs, and the model learns to map one to the other, as in classification or regression. Unsupervised learning has no labels; it looks for structure on its own, as in clustering or dimensionality reduction. Reinforcement learning is a third category where an agent learns from reward signals produced by its own actions rather than from a fixed dataset.