public class OutputUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Map<org.dmg.pmml.FieldName,?> |
evaluate(Map<org.dmg.pmml.FieldName,?> predictions,
ModelEvaluationContext context)
Evaluates the
Output element. |
static Double |
getAffinity(Object object,
org.dmg.pmml.OutputField outputField) |
static Double |
getCategoricalResidual(Object object,
FieldValue expectedObject) |
static Double |
getClusterAffinity(Object object) |
static String |
getReasonCode(Object object,
org.dmg.pmml.OutputField outputField) |
static Object |
getRuleValue(Object object,
org.dmg.pmml.OutputField outputField) |
static Object |
getRuleValue(Object object,
org.dmg.pmml.OutputField outputField,
org.dmg.pmml.RuleFeatureType ruleFeature) |
public static Map<org.dmg.pmml.FieldName,?> evaluate(Map<org.dmg.pmml.FieldName,?> predictions, ModelEvaluationContext context)
Output element.predictions - Map of target field values.target field values together with output field values.public static Double getCategoricalResidual(Object object, FieldValue expectedObject)
public static Object getRuleValue(Object object, org.dmg.pmml.OutputField outputField, org.dmg.pmml.RuleFeatureType ruleFeature)
Copyright © 2014. All Rights Reserved.