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, wherein the function comprises a combination of non-zero measures of entropy and adjacency, adjacency being weighted by a non-zero weighting factor and partitioning the values of the designated variable into two or more groups.