1. A computerized method of generating a data mining model, the method comprising: obtaining a set of algorithms; automatically generating a plurality of datasets from sample data, wherein the automatically generating includes: changing an order of entries in the sample data in a random fashion; placing each of the entries into one of a plurality of partitions; and creating the plurality of datasets based on the plurality of partitions, each dataset including at least one of the plurality of partitions; optimizing the set of algorithms using the plurality of datasets, the optimizing including: applying the set of algorithms to the plurality of datasets; analyzing a set of results for the applying; adjusting at least one algorithm based on the set of results; and applying the adjusted set of algorithms to the plurality of datasets; and generating the data mining model based on the optimized set of algorithms, wherein the data mining model includes a set of SQL statements.