Class AbstractKiePMMLTable

    • Field Detail

      • numericFunctionMap

        protected Map<String,​org.kie.pmml.api.iinterfaces.SerializableFunction<Double,​Double>> numericFunctionMap
      • categoricalFunctionMap

        protected Map<String,​org.kie.pmml.api.iinterfaces.SerializableFunction<String,​Double>> categoricalFunctionMap
      • predictorTermsFunctionMap

        protected Map<String,​org.kie.pmml.api.iinterfaces.SerializableFunction<Map<String,​Object>,​Double>> predictorTermsFunctionMap
      • resultUpdater

        protected org.kie.pmml.api.iinterfaces.SerializableFunction<Double,​Double> resultUpdater
      • intercept

        protected double intercept
      • targetField

        protected String targetField
      • targetCategory

        protected Object targetCategory
    • Constructor Detail

      • AbstractKiePMMLTable

        protected AbstractKiePMMLTable​(String name,
                                       List<org.kie.pmml.commons.model.KiePMMLExtension> extensions)
    • Method Detail

      • getTargetCategory

        public Object getTargetCategory()
      • evaluateRegression

        public Object evaluateRegression​(Map<String,​Object> input,
                                         org.kie.pmml.api.runtime.PMMLContext context)
      • getTargetField

        public String getTargetField()
      • getNumericFunctionMap

        public Map<String,​org.kie.pmml.api.iinterfaces.SerializableFunction<Double,​Double>> getNumericFunctionMap()
      • getCategoricalFunctionMap

        public Map<String,​org.kie.pmml.api.iinterfaces.SerializableFunction<String,​Double>> getCategoricalFunctionMap()
      • getPredictorTermsFunctionMap

        public Map<String,​org.kie.pmml.api.iinterfaces.SerializableFunction<Map<String,​Object>,​Double>> getPredictorTermsFunctionMap()
      • getIntercept

        public double getIntercept()
      • evaluateNumericWithExponent

        public static double evaluateNumericWithExponent​(double input,
                                                         double coefficient,
                                                         double exponent)
      • evaluateNumericWithoutExponent

        public static double evaluateNumericWithoutExponent​(double input,
                                                            double coefficient)
      • evaluateCategoricalPredictor

        public static double evaluateCategoricalPredictor​(Object input,
                                                          Map<String,​Double> valuesMap)
      • updateSOFTMAXResult

        public static double updateSOFTMAXResult​(Double y)
      • updateLOGITResult

        public static double updateLOGITResult​(Double y)
      • updateEXPResult

        public static double updateEXPResult​(Double y)
      • updatePROBITResult

        public static double updatePROBITResult​(Double y)
      • updateCLOGLOGResult

        public static double updateCLOGLOGResult​(Double y)
      • updateCAUCHITResult

        public static double updateCAUCHITResult​(Double y)
      • updateNONEResult

        public static double updateNONEResult​(Double y)