In ML, regression is a type of supervised learning task that involves predicting a continuous numerical value or a set of values. The goal of regression is to build a model that can learn the relationship between a set of input features and the corresponding target variable, allowing us to make predictions for new, unseen data. The following diagram provides an illustration of how a regression prediction works:

Get hands-on with 1200+ tech skills courses.