public static Evaluation getEvaluation ( ComputationGraph model , MultiDataSetIterator testData ) { if ( model . getNumOutputArrays ( ) != 1 ) throw new IllegalStateException ( "GraphSetSetAccuracyScoreFunction cannot be " + "applied to ComputationGraphs with more than one output. NumOutputs = " + model . getNumOutputArrays ( ) ) ; return model . evaluate ( testData ) ; }
Get the evaluation for the given model and test dataset