Machine learning can be divided into two primary types: supervised and unsupervised learning. The key difference lies in the data used.
- Supervised Learning relies on labeled data. For example, training a model with emails marked as "spam" or "not spam" allows it to predict future classifications. Common applications include prediction, classification, and regression.
- Unsupervised Learning works with unlabeled data, seeking hidden patterns and structures. Clustering customers into natural segments is a classic use case.
In supervised learning, labeled data leads to predictions; in unsupervised learning, unlabeled data drives analysis. This simple distinction forms the foundation of many AI systems.