org.jpmml.evaluator
Class OutputUtil

java.lang.Object
  extended by org.jpmml.evaluator.OutputUtil

public class OutputUtil
extends Object


Method Summary
static
<M extends Model>
Map<FieldName,Object>
evaluate(ModelManager<M> modelManager, Map<FieldName,?> parameters, Map<FieldName,?> predictions)
          Evaluates the Output element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

evaluate

public static <M extends Model> Map<FieldName,Object> evaluate(ModelManager<M> modelManager,
                                                               Map<FieldName,?> parameters,
                                                               Map<FieldName,?> predictions)
Evaluates the Output element.

Parameters:
parameters - Map of active field values.
predictions - Map of predicted field values.
Returns:
Map of predicted field values together with output field values.


Copyright © 2013 University of Tartu. All Rights Reserved.