learn a function f that maps features to labels examples k-nearest neighbors (KNN) linear classifier softmax classifier (multinomial logistic regression)