question: protected double [ ] score ( double [ ] instance , Attribute classAtt ) throws Exception { double [ ] preds = null ; if ( classAtt . isNumeric ( ) ) { preds = new double [ 1 ] ; } else { preds = new double [ classAtt . numValues ( ) ] ; } if ( m_childNodes . size ( ) == 0 ) { doLeaf ( classAtt , preds ) ; } else { switch ( TreeModel . this . m_missingValueStrategy ) { case NONE : preds = missingValueStrategyNone ( instance , classAtt ) ; break ; case LASTPREDICTION : preds = missingValueStrategyLastPrediction ( instance , classAtt ) ; break ; case DEFAULTCHILD : preds = missingValueStrategyDefaultChild ( instance , classAtt ) ; break ; default : throw new Exception ( "[TreeModel] not implemented!" ) ; } } return preds ; }
target:  Score an incoming instance. Invokes a missing value handling strategy.