Machine learning

Machine learning is used to automatically find patterns in data for prediction or insight. In supervised learning, models learn from labeled examples, while unsupervised learning finds hidden structures in unlabeled data. Key supervised methods include nearest neighbor (classify by closest examples), linear regression (predict continuous values), and logistic regression (estimate class probabilities). These enable tasks like forecasting, grouping, and decision-making from data.