NumericToNominal filter = new NumericToNominal();
filter.setInputFormat(instances);
instances = Filter.useFilter(instances, filter);
Random ran = new Random(System.currentTimeMillis());
instances.randomize(ran);
int max = 20;
double[] acc = new double[max];
while(max > 0) {