verbose("Generating the reference data set");
// Generate the reference data sets.
ReferenceDataGenerator generator = new ReferenceDataGenerator(m);
Matrix[] gapMatrices = new Matrix[numGaps];
for (int i = 0; i < numGaps; ++i)
gapMatrices[i] = rowMag.transform(tfidf.transform(
generator.generateTestData()));
double[] gapResults = new double[numIterations];
double[] gapStds = new double[numIterations];
Assignments[] gapAssignments = new Assignments[numIterations];