for (int d = 0; d < dim; ++d) {
sample[d] = d % 2 == 0 ? r.nextDouble() : r.nextGaussian();
}
testData.add(new Datum(new ArrayList<>(), new ArrayRealVector(sample)));
}
<BUG>MacroBaseConf conf = new MacroBaseConf(ImmutableMap.of(

MacroBaseConf.LOW_METRICS, new ArrayList<String>(),

MacroBaseConf.HIGH_METRICS, Arrays.asList(new String[dim])));
</BUG>
MinCovDet trainer = new MinCovDet(conf);

for (int d = 0; d < dim; ++d) {
sample[d] = d % 2 == 0 ? r.nextDouble() : r.nextGaussian();
}
testData.add(new Datum(new ArrayList<>(), new ArrayRealVector(sample)));
}
MacroBaseConf conf = new MacroBaseConf()
.set(MacroBaseConf.LOW_METRICS, new ArrayList<String>())
.set(MacroBaseConf.HIGH_METRICS, Arrays.asList(new String[dim]));
MinCovDet trainer = new MinCovDet(conf);
