The schematic diagram of a sparse model used for classification. This figure shows a sparse model. A represents the feature matrix, and y is a vector to be classified. In matrix A, three different colours represent three different classes. × is a sparse vector, and has many zero entries (white colour) but a few non-zero entries (red colour) corresponding to a particular class to which y belongs.