final Random rand = new Random(43);
for(int i = 0; i < 1000000; i++) {
Integer feature = Integer.valueOf(rand.nextInt(100));
float weight = rand.nextFloat() >= 0.5f ? 1.f : 0.f;
model.set(feature, new WeightValue(weight));
}
waitForMixed(model, 100000, 10000L);
int numMixed = model.getNumMixed();