1. A computer-implemented method for selecting a subset of features for processing in a learning machine, wherein the features correspond to a dataset to be analyzed for patterns, the method comprising: ranking the features according to a distance between extremal points of two classes of interest; and selecting the subset of features having the highest rank.