Class KiePMMLClassificationTable
java.lang.Object
org.kie.pmml.commons.model.abstracts.AbstractKiePMMLComponent
org.kie.pmml.models.regression.model.AbstractKiePMMLTable
org.kie.pmml.models.regression.model.KiePMMLClassificationTable
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.kie.pmml.models.regression.model.AbstractKiePMMLTable
categoricalFunctionMap, intercept, numericFunctionMap, predictorTermsFunctionMap, resultUpdater, targetCategory, targetFieldFields inherited from class org.kie.pmml.commons.model.abstracts.AbstractKiePMMLComponent
extensions, id, name, parentId -
Method Summary
Modifier and TypeMethodDescriptionbuilder(String name, List<KiePMMLExtension> extensions) evaluateRegression(Map<String, Object> input, PMMLRuntimeContext context) static LinkedHashMap<String,Double> getCAUCHITProbabilityMap(LinkedHashMap<String, Double> resultMap) static LinkedHashMap<String,Double> getCLOGLOGProbabilityMap(LinkedHashMap<String, Double> resultMap) static LinkedHashMap<String,Double> getLOGITProbabilityMap(LinkedHashMap<String, Double> resultMap) static LinkedHashMap<String,Double> getNONEBinaryProbabilityMap(LinkedHashMap<String, Double> resultMap) static LinkedHashMap<String,Double> getNONEProbabilityMap(LinkedHashMap<String, Double> resultMap) static LinkedHashMap<String,Double> getProbabilityMap(LinkedHashMap<String, Double> resultMap, DoubleUnaryOperator firstItemOperator, DoubleUnaryOperator secondItemOperator) static LinkedHashMap<String,Double> getPROBITProbabilityMap(LinkedHashMap<String, Double> resultMap) static LinkedHashMap<String,Double> getSIMPLEMAXProbabilityMap(LinkedHashMap<String, Double> resultMap) static LinkedHashMap<String,Double> getSOFTMAXProbabilityMap(LinkedHashMap<String, Double> resultMap) booleanisBinary()A Classification is considered binary if it is of CATEGORICAL type and contains exactly two Regression tablesMethods inherited from class org.kie.pmml.models.regression.model.AbstractKiePMMLTable
evaluateCategoricalPredictor, evaluateNumericWithExponent, evaluateNumericWithoutExponent, getCategoricalFunctionMap, getIntercept, getNumericFunctionMap, getPredictorTermsFunctionMap, getTargetCategory, getTargetField, updateCAUCHITResult, updateCLOGLOGResult, updateEXPResult, updateLOGITResult, updateNONEResult, updatePROBITResult, updateSOFTMAXResultMethods inherited from class org.kie.pmml.commons.model.abstracts.AbstractKiePMMLComponent
getExtensions, getId, getName, getParentId, setParentId
-
Method Details
-
builder
public static KiePMMLClassificationTable.Builder builder(String name, List<KiePMMLExtension> extensions) -
evaluateRegression
- Overrides:
evaluateRegressionin classAbstractKiePMMLTable
-
isBinary
public boolean isBinary()A Classification is considered binary if it is of CATEGORICAL type and contains exactly two Regression tables- Returns:
-
getRegressionNormalizationMethod
-
getOpType
-
getCategoryTableMap
-
getProbabilityMap
public static LinkedHashMap<String,Double> getProbabilityMap(LinkedHashMap<String, Double> resultMap, DoubleUnaryOperator firstItemOperator, DoubleUnaryOperator secondItemOperator) -
getSOFTMAXProbabilityMap
public static LinkedHashMap<String,Double> getSOFTMAXProbabilityMap(LinkedHashMap<String, Double> resultMap) -
getSIMPLEMAXProbabilityMap
public static LinkedHashMap<String,Double> getSIMPLEMAXProbabilityMap(LinkedHashMap<String, Double> resultMap) -
getNONEProbabilityMap
public static LinkedHashMap<String,Double> getNONEProbabilityMap(LinkedHashMap<String, Double> resultMap) -
getNONEBinaryProbabilityMap
public static LinkedHashMap<String,Double> getNONEBinaryProbabilityMap(LinkedHashMap<String, Double> resultMap) -
getLOGITProbabilityMap
public static LinkedHashMap<String,Double> getLOGITProbabilityMap(LinkedHashMap<String, Double> resultMap) -
getPROBITProbabilityMap
public static LinkedHashMap<String,Double> getPROBITProbabilityMap(LinkedHashMap<String, Double> resultMap) -
getCLOGLOGProbabilityMap
public static LinkedHashMap<String,Double> getCLOGLOGProbabilityMap(LinkedHashMap<String, Double> resultMap) -
getCAUCHITProbabilityMap
public static LinkedHashMap<String,Double> getCAUCHITProbabilityMap(LinkedHashMap<String, Double> resultMap)
-