public class AssociationModelEvaluator extends AssociationModelManager implements Evaluator
| Constructor and Description |
|---|
AssociationModelEvaluator(PMML pmml) |
AssociationModelEvaluator(PMML pmml,
AssociationModel associationModel) |
| Modifier and Type | Method and Description |
|---|---|
Map<FieldName,?> |
evaluate(Map<FieldName,?> arguments) |
com.google.common.collect.BiMap<String,AssociationRule> |
getEntityRegistry() |
com.google.common.collect.BiMap<String,Item> |
getItemRegistry() |
com.google.common.collect.BiMap<String,Itemset> |
getItemsetRegistry() |
Object |
prepare(FieldName name,
Object value)
Prepares the input value for a field.
|
createModel, getActiveField, getAssociationRules, getItems, getItemsets, getModel, getSummary, getTargetaddField, addMiningField, getActiveFields, getGroupFields, getMiningField, getMiningFields, getMiningSchema, getOrCreateLocalTransformations, getOrCreateOutput, getOrCreateTargets, getOutputField, getOutputFields, getPredictedFields, 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 AssociationModelEvaluator(PMML pmml)
public AssociationModelEvaluator(PMML pmml, AssociationModel associationModel)
public com.google.common.collect.BiMap<String,Item> getItemRegistry()
getItemRegistry in class AssociationModelManagerpublic com.google.common.collect.BiMap<String,Itemset> getItemsetRegistry()
getItemsetRegistry in class AssociationModelManagerpublic com.google.common.collect.BiMap<String,AssociationRule> getEntityRegistry()
getEntityRegistry in interface HasEntityRegistry<AssociationRule>getEntityRegistry in class AssociationModelManagerpublic 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.