public static int numExamplesTrain ( Set dataSet ) { switch ( dataSet ) { case COMPLETE : return NUM_COMPLETE_TRAIN ; case MERGE : return NUM_MERGE_TRAIN ; case BALANCED : return NUM_BALANCED_TRAIN ; case LETTERS : return NUM_LETTERS_TRAIN ; case DIGITS : return NUM_DIGITS_TRAIN ; case MNIST : return NUM_MNIST_TRAIN ; default : throw new UnsupportedOperationException ( "Unknown Set: " + dataSet ) ; } }
Get the number of training examples for the specified subset