Class KiePMMLTreeModel

  • All Implemented Interfaces:
    java.io.Serializable, org.kie.pmml.api.models.PMMLModel

    public abstract class KiePMMLTreeModel
    extends org.kie.pmml.commons.model.KiePMMLModel
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.kie.pmml.commons.model.KiePMMLModel

        org.kie.pmml.commons.model.KiePMMLModel.Builder<T extends org.kie.pmml.commons.model.KiePMMLModel>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.function.Function<java.util.Map<java.lang.String,​java.lang.Object>,​KiePMMLNodeResult> nodeFunction  
      • Fields inherited from class org.kie.pmml.commons.model.KiePMMLModel

        kiePMMLMiningFields, kiePMMLOutputFields, kiePMMLTargets, localTransformations, miningFields, miningFunction, outputFields, pmmlMODEL, targetField, transformationDictionary
      • Fields inherited from class org.kie.pmml.commons.model.abstracts.AbstractKiePMMLComponent

        extensions, id, name, parentId
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected KiePMMLTreeModel​(java.lang.String fileName, java.lang.String modelName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object evaluate​(java.util.Map<java.lang.String,​java.lang.Object> requestData, org.kie.pmml.api.runtime.PMMLRuntimeContext context)  
      • Methods inherited from class org.kie.pmml.commons.model.KiePMMLModel

        getFileName, getKiePMMLMiningFields, getKiePMMLOutputFields, getKiePMMLTargets, getKModulePackageName, getLocalTransformations, getMiningFields, getMiningFunction, getOutputFields, getPmmlMODEL, getTargetField, getTransformationDictionary
      • Methods inherited from class org.kie.pmml.commons.model.abstracts.AbstractKiePMMLComponent

        getExtensions, getId, getName, getParentId, setParentId
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.kie.pmml.api.models.PMMLModel

        getName
    • Field Detail

      • nodeFunction

        protected java.util.function.Function<java.util.Map<java.lang.String,​java.lang.Object>,​KiePMMLNodeResult> nodeFunction
    • Constructor Detail

      • KiePMMLTreeModel

        protected KiePMMLTreeModel​(java.lang.String fileName,
                                   java.lang.String modelName)
    • Method Detail

      • evaluate

        public java.lang.Object evaluate​(java.util.Map<java.lang.String,​java.lang.Object> requestData,
                                         org.kie.pmml.api.runtime.PMMLRuntimeContext context)
        Specified by:
        evaluate in class org.kie.pmml.commons.model.KiePMMLModel