} else if (numValues <= 2) {
bins[i] = new BitNumericArray(instanceCount);
} else if (numValues <= Byte.MAX_VALUE) {
bins[i] = new ByteNumericArray(instanceCount);
} else if (numValues <= Short.MAX_VALUE) {
bins[i] = new ShortNumericArray(instanceCount);
} else {
throw new Exception("One of your features have more than " + Short.MAX_VALUE
+ " distinct values. The support for this feature is not implemented yet.");
}
System.out.println("Feature: " + i + ", type: " + bins[i].getType().toString());