A Two-Stage Data Processing Algorithm to Generate Random Sample Partitions for Big Data Analysis · Study