Binary classification is the most basic type of classification task in ML. It’s called binary because there are only two distinct categories: Yes or no, true or false, positive or negative, and so on. As the following diagram illustrates, a binary classification model accepts an input object and assigns it to one of two categories based on the values of its features:

Get hands-on with 1200+ tech skills courses.