Supervised learning is generally divided into two main categories: classification and regression.
Classification is used to group data into distinct categories based on the input data. It is particularly useful when output variables are categorical, such as "spam" and "not spam" in email filtering. Classification models analyze various features, such as the sender, subject line, and body copy of emails, to determine whether an email should be classified as spam. Another example might be the classification of customer requests.
Regression is used to predict continuous values, such as future sales revenue or housing prices. The algorithm detects relationships between two or more variables and projects future outcomes. For instance, predicting a salary based on work experience and other factors is a regression task. While linear regressions or logistic regressions are well-known among data scientist, do you arelady know what a Bayesian linear regression is?