Class MiningModelEvaluator

    • Constructor Detail

      • MiningModelEvaluator

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

        public MiningModelEvaluator​(org.dmg.pmml.PMML pmml,
                                    org.dmg.pmml.mining.MiningModel miningModel)
    • Method Detail

      • configure

        public void configure​(Configuration configuration)
        Description copied from class: ModelEvaluator

        Configures the runtime behaviour of this model evaluator.

        Must be called once before the first evaluation. May be called any number of times between subsequent evaluations.

        Overrides:
        configure in class ModelEvaluator<org.dmg.pmml.mining.MiningModel>
      • getSummary

        public String getSummary()
        Description copied from interface: Evaluator

        Gets a short description of the Model.

        Specified by:
        getSummary in interface Evaluator
      • isPure

        public boolean isPure()
        Description copied from class: ModelEvaluator

        Indicates if this model evaluator represents a pure function.

        A pure model evaluator does not tamper with the evaluation context during evaluation.

        Overrides:
        isPure in class ModelEvaluator<org.dmg.pmml.mining.MiningModel>
      • getEntityRegistry

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