1. A computer-implemented method of partitioning data records of a multi-dimensional database into groups comprising: defining a function of a distribution of values of a designated variable associated with the data records, the data records being stored in computer processor memory, wherein the function comprises a combination of measures of entropy and adjacency utilized by a computer processor associated with said computer processor memory, adjacency being weighted by a weighting factor and partitioning the values of the designated variable into two or more groups by the computer processor according to the function.