public class RuleSetModelEvaluator extends RuleSetModelManager implements Evaluator
| Constructor and Description |
|---|
RuleSetModelEvaluator(PMML pmml) |
RuleSetModelEvaluator(PMML pmml,
RuleSetModel ruleSetModel) |
| Modifier and Type | Method and Description |
|---|---|
Map<FieldName,?> |
evaluate(Map<FieldName,?> arguments) |
Object |
prepare(FieldName name,
Object value)
Prepares the input value for a field.
|
createModel, getModel, getRuleSet, getSummaryaddField, addMiningField, getActiveFields, getGroupFields, getMiningField, getMiningFields, getMiningSchema, getOrCreateLocalTransformations, getOrCreateOutput, getOrCreateTargets, getOutputField, getOutputFields, getPredictedFields, getTarget, getTargetField, resolveFieldaddDataField, find, find, findAll, getDataDictionary, getDataField, getHeader, getModel, getModelManager, getModelManager, getModels, getOrCreateTransformationDictionary, getPmml, resolveFunctionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActiveFields, getDataField, getGroupFields, getMiningField, getOutputField, getOutputFields, getPredictedFields, getSummary, getTargetFieldpublic RuleSetModelEvaluator(PMML pmml)
public RuleSetModelEvaluator(PMML pmml, RuleSetModel ruleSetModel)
public Object prepare(FieldName name, Object value)
Evaluatorprepare in interface Evaluatorname - The name of the fieldConsumer.getDataField(FieldName),
Consumer.getMiningField(FieldName)public Map<FieldName,?> evaluate(Map<FieldName,?> arguments)
evaluate in interface Evaluatorarguments - Map of active field values.predicted field and output field values.
Simple values are represented using the Java equivalents of PMML data types (eg. String, Integer, Float, Double etc.).
Complex values are represented as instances of Computable that return simple values.ComputableCopyright © 2013 University of Tartu. All Rights Reserved.