public class TargetUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.dmg.pmml.FieldName |
DEFAULT_NAME |
| Modifier and Type | Method and Description |
|---|---|
static Map<org.dmg.pmml.FieldName,? extends Classification> |
evaluateClassification(Classification value,
ModelEvaluationContext context) |
static Map<org.dmg.pmml.FieldName,? extends Classification> |
evaluateClassification(Map<org.dmg.pmml.FieldName,? extends Classification> predictions,
ModelEvaluationContext context)
Evaluates the
Targets element for classification models. |
static Map<org.dmg.pmml.FieldName,? extends Classification> |
evaluateClassificationDefault(ModelEvaluationContext context) |
static Map<org.dmg.pmml.FieldName,?> |
evaluateRegression(Double value,
ModelEvaluationContext context) |
static Map<org.dmg.pmml.FieldName,?> |
evaluateRegression(Map<org.dmg.pmml.FieldName,? extends Double> predictions,
ModelEvaluationContext context)
Evaluates the
Targets element for regression models. |
static Map<org.dmg.pmml.FieldName,?> |
evaluateRegressionDefault(ModelEvaluationContext context) |
static org.dmg.pmml.TargetValue |
getTargetValue(org.dmg.pmml.Target target,
Object value) |
static Double |
processValue(org.dmg.pmml.Target target,
Double value) |
public static Map<org.dmg.pmml.FieldName,?> evaluateRegressionDefault(ModelEvaluationContext context)
public static Map<org.dmg.pmml.FieldName,?> evaluateRegression(Double value, ModelEvaluationContext context)
public static Map<org.dmg.pmml.FieldName,?> evaluateRegression(Map<org.dmg.pmml.FieldName,? extends Double> predictions, ModelEvaluationContext context)
Evaluates the Targets element for regression models.
public static Map<org.dmg.pmml.FieldName,? extends Classification> evaluateClassificationDefault(ModelEvaluationContext context)
public static Map<org.dmg.pmml.FieldName,? extends Classification> evaluateClassification(Classification value, ModelEvaluationContext context)
public static Map<org.dmg.pmml.FieldName,? extends Classification> evaluateClassification(Map<org.dmg.pmml.FieldName,? extends Classification> predictions, ModelEvaluationContext context)
Evaluates the Targets element for classification models.
public static org.dmg.pmml.TargetValue getTargetValue(org.dmg.pmml.Target target,
Object value)
Copyright © 2016. All Rights Reserved.