public class ScorecardEvaluator extends ScorecardManager implements Evaluator
| Constructor and Description |
|---|
ScorecardEvaluator(PMML pmml) |
ScorecardEvaluator(PMML pmml,
Scorecard scorecard) |
| 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, getCharacteristics, getModel, 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 ScorecardEvaluator(PMML pmml)
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.