Classification Classification is the task of predicting a discrete number of outcomes or classes. Binary classification is the task of predicting one of two classes.