assertEquals(m_Instances.numInstances(), result.numInstances());
// Check conversion is OK
for (int j = 0; j < result.numAttributes(); j++) {
if (result.attribute(j).isNumeric()) {
double mean = result.meanOrMode(j);
assertTrue("Mean should be 0", Utils.eq(mean, 0));
double stdDev = Math.sqrt(result.variance(j));
assertTrue("StdDev should be 1 (or 0)",
Utils.eq(stdDev, 0) || Utils.eq(stdDev, 1));
}