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 Number |
getDiscreteResidual(Object value,
FieldValue expectedValue) |
static Double |
getEntityAffinity(Object object) |
static String |
getReasonCode(Object object,
org.dmg.pmml.OutputField outputField) |
static String |
getReport(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.OutputField.RuleFeature ruleFeature) |
public static Map<org.dmg.pmml.FieldName,?> evaluate(Map<org.dmg.pmml.FieldName,?> predictions, ModelEvaluationContext context)
Evaluates the Output element.
predictions - A map of target field values.target field values together with output field values.public static Number getDiscreteResidual(Object value, FieldValue expectedValue)
public static String getReasonCode(Object object, org.dmg.pmml.OutputField outputField)
public static Object getRuleValue(Object object, org.dmg.pmml.OutputField outputField, org.dmg.pmml.OutputField.RuleFeature ruleFeature)
Copyright © 2019. All rights reserved.