1. A computerized method for learning for categorizing elements, comprising: establishing an empty set of basis functions; selecting a kernel basis function from a collection of training basis functions located at one or more training points; adding the selected basis function to the set of basis functions; optimizing one or more parameters associated with the set of basis functions; and repeating the steps of selecting, adding and optimizing until a set limit of complexity in the number of basis functions is reached.