Class AssociationModelEvaluator

    • Constructor Detail

      • AssociationModelEvaluator

        public AssociationModelEvaluator​(org.dmg.pmml.PMML pmml)
      • AssociationModelEvaluator

        public AssociationModelEvaluator​(org.dmg.pmml.PMML pmml,
                                         org.dmg.pmml.association.AssociationModel associationModel)
    • Method Detail

      • getSummary

        public java.lang.String getSummary()
        Description copied from interface: Evaluator

        Gets a short description of the Model.

        Specified by:
        getSummary in interface Evaluator
      • getGroupFields

        public java.util.List<InputField> getGroupFields()
        Description copied from interface: HasGroupFields

        Gets the group fields of a Model from its MiningSchema.

        This field set is relevant for association rules model type only.

        Specified by:
        getGroupFields in interface HasGroupFields
      • getTarget

        public org.dmg.pmml.Target getTarget​(java.lang.String name)
        Overrides:
        getTarget in class ModelManager<org.dmg.pmml.association.AssociationModel>
        Returns:
        null Always.
      • getTargetName

        public java.lang.String getTargetName()
        Overrides:
        getTargetName in class ModelManager<org.dmg.pmml.association.AssociationModel>
      • getEntityRegistry

        public com.google.common.collect.BiMap<java.lang.String,​org.dmg.pmml.association.AssociationRule> getEntityRegistry()
        Specified by:
        getEntityRegistry in interface HasEntityRegistry<org.dmg.pmml.association.AssociationRule>
        Returns:
        A bidirectional map between Entity identifiers and Entity instances.