partitions function

Methods to partition data for evaluation