The classification problem is like the regression problem discussed in the previous chapter, except that the outcome variable y takes only a few discrete values. In binary classification, y takes only two values: 0 or 1. You can also think of the values that the response variable takes in classification as a representation of categories.