1. A computerized method for learning for categorizing elements and generating search results, comprising: building a searchable index of documents in a database wherein the database is searchable to return a result set; using a classifier to separate documents returned in the result set, establishing an empty set of basis functions associated with the classifier; storing, in a computer readable medium, the empty set of basis functions associated with the classifier; 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; incrementing an actual basis functions count; optimizing one or more parameters associated with the set of basis functions; comparing a predetermined number of basis functions against the actual basis functions count; repeating the steps of selecting, adding, incrementing and optimizing until the actual basis functions count reaches the predetermined number of basis functions; generating a basis set; and generating a search result set in response to a search request on the database based on the basis set.