In statistical classification (also the last layer of neural network, also potentially clustering), two main approaches are called the generative approach and the discriminative approach.

Definition

Two major types can be distinguished: