question: protected boolean [ ] canHandleNClasses ( boolean nominalPredictor , boolean numericPredictor , boolean stringPredictor , boolean datePredictor , boolean relationalPredictor , boolean multiInstance , int numClasses ) { print ( "more than two class problems" ) ; printAttributeSummary ( nominalPredictor , numericPredictor , stringPredictor , datePredictor , relationalPredictor , multiInstance , Attribute . NOMINAL ) ; print ( "..." ) ; ArrayList < String > accepts = new ArrayList < String > ( ) ; accepts . add ( "number" ) ; accepts . add ( "class" ) ; int numTrain = getNumInstances ( ) , missingLevel = 0 ; boolean predictorMissing = false , classMissing = false ; return runBasicTest ( nominalPredictor , numericPredictor , stringPredictor , datePredictor , relationalPredictor , multiInstance , Attribute . NOMINAL , missingLevel , predictorMissing , classMissing , numTrain , numClasses , accepts ) ; }
target:  Checks whether nominal schemes can handle more than two classes. If a scheme is only designed for two-class problems it should throw an appropriate exception for multi-class problems.