Regression refers to the supervised learning task of predicting a continuous target value from a set of input features , as opposed to predicting a discrete class label (classification). Given training data , a regression model learns a function that generalizes well to new, unseen inputs.
Performance is typically measured by the discrepancy between predictions and true values , most commonly the mean squared error,
or the coefficient of determination, , which expresses the fraction of the variance in the target explained by the model (1.0 = perfect prediction, 0.0 = no better than predicting the mean).
Many of the methods in this course can be used for regression as well as classification (neural networks, decision trees, random forests, gradient boosting, SVMs), simply by changing the loss function and the output layer/leaf prediction from a class label to a real number. Gaussian process regression, covered next, is intrinsically a regression method, and additionally provides a principled estimate of predictive uncertainty alongside each prediction.