and then these feature vectors are input to the training stage which trains a discriminative classifier and this could be a nearest neighbor, it could be a support vector machine decision tree and variety of other classifiers exist.