Class KiePMMLRegressionClassificationTable
- java.lang.Object
-
- org.kie.pmml.models.regression.model.KiePMMLRegressionTable
-
- org.kie.pmml.models.regression.model.KiePMMLRegressionClassificationTable
-
- All Implemented Interfaces:
Serializable
public abstract class KiePMMLRegressionClassificationTable extends KiePMMLRegressionTable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,KiePMMLRegressionTable>categoryTableMapprotected booleanisBinaryprotected org.kie.pmml.api.enums.OP_TYPEopTypeprotected org.kie.pmml.api.iinterfaces.SerializableFunction<LinkedHashMap<String,Double>,LinkedHashMap<String,Double>>probabilityMapFunctionprotected REGRESSION_NORMALIZATION_METHODregressionNormalizationMethod-
Fields inherited from class org.kie.pmml.models.regression.model.KiePMMLRegressionTable
categoricalFunctionMap, intercept, numericFunctionMap, predictorTermsFunctionMap, resultUpdater, targetCategory, targetField
-
-
Constructor Summary
Constructors Constructor Description KiePMMLRegressionClassificationTable()
-
Method Summary
-
Methods inherited from class org.kie.pmml.models.regression.model.KiePMMLRegressionTable
evaluateCategoricalPredictor, evaluateNumericWithExponent, evaluateNumericWithoutExponent, getCategoricalFunctionMap, getIntercept, getNumericFunctionMap, getPredictorTermsFunctionMap, getTargetCategory, getTargetField, updateCAUCHITResult, updateCLOGLOGResult, updateEXPResult, updateLOGITResult, updateNONEResult, updatePROBITResult, updateSOFTMAXResult
-
-
-
-
Field Detail
-
regressionNormalizationMethod
protected REGRESSION_NORMALIZATION_METHOD regressionNormalizationMethod
-
opType
protected org.kie.pmml.api.enums.OP_TYPE opType
-
categoryTableMap
protected Map<String,KiePMMLRegressionTable> categoryTableMap
-
probabilityMapFunction
protected org.kie.pmml.api.iinterfaces.SerializableFunction<LinkedHashMap<String,Double>,LinkedHashMap<String,Double>> probabilityMapFunction
-
isBinary
protected boolean isBinary
-
-
Method Detail
-
evaluateRegression
public Object evaluateRegression(Map<String,Object> input, org.kie.pmml.api.runtime.PMMLContext context)
- Overrides:
evaluateRegressionin classKiePMMLRegressionTable
-
isBinary
public boolean isBinary()
A Classification is considered binary if it is of CATEGORICAL type and contains exactly two Regression tables- Returns:
-
getRegressionNormalizationMethod
public REGRESSION_NORMALIZATION_METHOD getRegressionNormalizationMethod()
-
getOpType
public org.kie.pmml.api.enums.OP_TYPE getOpType()
-
getCategoryTableMap
public Map<String,KiePMMLRegressionTable> getCategoryTableMap()
-
getProbabilityMap
protected LinkedHashMap<String,Double> getProbabilityMap(LinkedHashMap<String,Double> resultMap, DoubleUnaryOperator firstItemOperator, DoubleUnaryOperator secondItemOperator)
-
getSOFTMAXProbabilityMap
protected LinkedHashMap<String,Double> getSOFTMAXProbabilityMap(LinkedHashMap<String,Double> resultMap)
-
getSIMPLEMAXProbabilityMap
protected LinkedHashMap<String,Double> getSIMPLEMAXProbabilityMap(LinkedHashMap<String,Double> resultMap)
-
getNONEProbabilityMap
protected LinkedHashMap<String,Double> getNONEProbabilityMap(LinkedHashMap<String,Double> resultMap)
-
getNONEBinaryProbabilityMap
protected LinkedHashMap<String,Double> getNONEBinaryProbabilityMap(LinkedHashMap<String,Double> resultMap)
-
getLOGITProbabilityMap
protected LinkedHashMap<String,Double> getLOGITProbabilityMap(LinkedHashMap<String,Double> resultMap)
-
getPROBITProbabilityMap
protected LinkedHashMap<String,Double> getPROBITProbabilityMap(LinkedHashMap<String,Double> resultMap)
-
getCLOGLOGProbabilityMap
protected LinkedHashMap<String,Double> getCLOGLOGProbabilityMap(LinkedHashMap<String,Double> resultMap)
-
getCAUCHITProbabilityMap
protected LinkedHashMap<String,Double> getCAUCHITProbabilityMap(LinkedHashMap<String,Double> resultMap)
-
-