Chapter 03: Supervised Classification
This chapter treats the supervised classification task in more detail. We will see examples of binary and multiclass classification and the differences between discriminative and generative approaches. In particular, we will address logistic regression, discriminant analysis and naive Bayes classifiers.
-
Chapter 03.00: Supervised Classification: In a Nutshell
In this nutshell chunk, we delve into the basics of supervised classification, where we train machines to categorize input data into predefined labels.
-
Chapter 03.01: Classification Tasks
In classification, the task is to predict a categorical (binary or multiclass) label. In this section, we illustrate the concept of classification with some typical examples.
-
Chapter 03.02: Basic Definitions
Although we are primarily interested in actual class labels, classification models usually output scores or probabilities first. We will explain why, introduce the concepts of decision regions and decision boundaries, and discern two fundamental approaches to constructing classifiers: the generative approach and the discriminant approach.
-
Chapter 03.03: Linear Classifiers
Linear classifiers are an essential subclass of classification models. This section provides the definition of a linear classifier and depicts differences between linear and non-linear decision boundaries.
-
Chapter 03.04: Logistic Regression
Logistic regression is a discriminant approach toward constructing a classifier. We will motivate logistic regression via the logistic function, define the log-loss for optimization and illustrate the approach in 1D and 2D.
-
Chapter 03.05: Discriminant Analysis
Discriminant analysis is a generative approach toward constructing a classifier. We distinguish between linear (LDA) and quadratic (QDA) discriminant analysis, where the latter is a more flexible approach subsuming the first.
-
Chapter 03.06: Naive Bayes
Naive Bayes is a generative approach based on an assumption of conditional independence across features and closely related to discriminant analysis.