Classification is the process of predicting the class of given data points. Classes are sometimes called targets/ labels or categories.
A Classification model task is approximating a mapping function (f) from input variables (X) to discrete output variables (y).
A simple example is determining an email as “spam” or “not spam.”