Package org.jpmml.evaluator.association
Class AssociationModelEvaluator
- java.lang.Object
-
- org.jpmml.evaluator.PMMLManager
-
- org.jpmml.evaluator.ModelManager<M>
-
- org.jpmml.evaluator.ModelEvaluator<org.dmg.pmml.association.AssociationModel>
-
- org.jpmml.evaluator.association.AssociationModelEvaluator
-
- All Implemented Interfaces:
Serializable,Evaluator,HasEntityRegistry<org.dmg.pmml.association.AssociationRule>,HasGroupFields,HasInputFields,HasModel<org.dmg.pmml.association.AssociationModel>,HasPMML,HasResultFields
public class AssociationModelEvaluator extends ModelEvaluator<org.dmg.pmml.association.AssociationModel> implements HasGroupFields, HasEntityRegistry<org.dmg.pmml.association.AssociationRule>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.jpmml.evaluator.Evaluator
DEFAULT_TARGET_NAME
-
-
Constructor Summary
Constructors Constructor Description AssociationModelEvaluator(org.dmg.pmml.PMML pmml)AssociationModelEvaluator(org.dmg.pmml.PMML pmml, org.dmg.pmml.association.AssociationModel associationModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.BiMap<String,org.dmg.pmml.association.AssociationRule>getEntityRegistry()List<InputField>getGroupFields()Gets the group fields of aModelfrom itsMiningSchema.StringgetSummary()Gets a short description of theModel.org.dmg.pmml.TargetgetTarget(String name)StringgetTargetName()-
Methods inherited from class org.jpmml.evaluator.ModelEvaluator
configure, createEvaluationContext, evaluate, evaluateInternal, getConfiguration, isParentCompatible, isPure, verify
-
Methods inherited from class org.jpmml.evaluator.ModelManager
addResultFeatures, getActiveFields, getDataField, getDefaultDataField, getInputFields, getLocalDerivedField, getMathContext, getMiningField, getMiningFunction, getModel, getOutputField, getOutputFields, getResidualFields, getSupplementaryFields, getTargetField, getTargetFields, hasResultFeature, setDefaultDataField
-
Methods inherited from class org.jpmml.evaluator.PMMLManager
getDefineFunction, getDerivedField, getPMML
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jpmml.evaluator.Evaluator
getMiningFunction
-
Methods inherited from interface org.jpmml.evaluator.HasInputFields
getActiveFields, getInputFields, getResidualFields, getSupplementaryFields
-
Methods inherited from interface org.jpmml.evaluator.HasResultFields
getOutputFields, getTargetFields
-
-
-
-
Method Detail
-
getSummary
public String getSummary()
Description copied from interface:EvaluatorGets a short description of the
Model.- Specified by:
getSummaryin interfaceEvaluator
-
getGroupFields
public List<InputField> getGroupFields()
Description copied from interface:HasGroupFieldsGets the group fields of a
Modelfrom itsMiningSchema.This field set is relevant for
association rulesmodel type only.- Specified by:
getGroupFieldsin interfaceHasGroupFields
-
getTarget
public org.dmg.pmml.Target getTarget(String name)
- Overrides:
getTargetin classModelManager<org.dmg.pmml.association.AssociationModel>- Returns:
nullAlways.
-
getTargetName
public String getTargetName()
- Overrides:
getTargetNamein classModelManager<org.dmg.pmml.association.AssociationModel>
-
getEntityRegistry
public com.google.common.collect.BiMap<String,org.dmg.pmml.association.AssociationRule> getEntityRegistry()
- Specified by:
getEntityRegistryin interfaceHasEntityRegistry<org.dmg.pmml.association.AssociationRule>- Returns:
- A bidirectional map between
Entity identifiersandEntity instances.
-
-