Methods of discriminant analysis based on studying the training set subjects most similar to the subject to be classified. Classification might then be decided according to a simple majority verdict among those most similar or ‘nearest’ training set subjects, i.e. a subject would be assigned to the group to which the majority of the ‘neighbors’ belonged. Simple nearest neighbor methods just consider the most similar neighbor. More general methods consider the k nearest neighbors, where k >1.