public abstract class KiePMMLRegressionClassificationTable extends KiePMMLRegressionTable
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,KiePMMLRegressionTable> |
categoryTableMap |
protected OP_TYPE |
opType |
protected REGRESSION_NORMALIZATION_METHOD |
regressionNormalizationMethod |
categoricalFunctionMap, intercept, numericFunctionMap, outputFieldsMap, predictorTermsFunctionMap, targetField| Constructor and Description |
|---|
KiePMMLRegressionClassificationTable() |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluateRegression(Map<String,Object> input) |
Map<String,KiePMMLRegressionTable> |
getCategoryTableMap() |
OP_TYPE |
getOpType() |
protected abstract LinkedHashMap<String,Double> |
getProbabilityMap(LinkedHashMap<String,Double> resultMap) |
protected LinkedHashMap<String,Double> |
getProbabilityMap(LinkedHashMap<String,Double> resultMap,
DoubleUnaryOperator firstItemOperator,
DoubleUnaryOperator secondItemOperator) |
REGRESSION_NORMALIZATION_METHOD |
getRegressionNormalizationMethod() |
abstract boolean |
isBinary()
A Classification is considered binary if it is of CATEGORICAL type and contains exactly two Regression tables
|
protected abstract void |
populateOutputFieldsMapWithProbability(Map.Entry<String,Double> predictedEntry,
LinkedHashMap<String,Double> probabilityMap) |
protected void |
updateResult(AtomicReference<Double> toUpdate) |
getCategoricalFunctionMap, getIntercept, getNumericFunctionMap, getOutputFieldsMap, getPredictorTermsFunctionMap, getTargetCategory, getTargetField, populateOutputFieldsMapWithResultprotected REGRESSION_NORMALIZATION_METHOD regressionNormalizationMethod
protected OP_TYPE opType
protected Map<String,KiePMMLRegressionTable> categoryTableMap
public KiePMMLRegressionClassificationTable()
public Object evaluateRegression(Map<String,Object> input)
evaluateRegression in class KiePMMLRegressionTablepublic abstract boolean isBinary()
protected abstract LinkedHashMap<String,Double> getProbabilityMap(LinkedHashMap<String,Double> resultMap)
protected abstract void populateOutputFieldsMapWithProbability(Map.Entry<String,Double> predictedEntry, LinkedHashMap<String,Double> probabilityMap)
protected void updateResult(AtomicReference<Double> toUpdate)
updateResult in class KiePMMLRegressionTablepublic REGRESSION_NORMALIZATION_METHOD getRegressionNormalizationMethod()
public OP_TYPE getOpType()
public Map<String,KiePMMLRegressionTable> getCategoryTableMap()
protected LinkedHashMap<String,Double> getProbabilityMap(LinkedHashMap<String,Double> resultMap, DoubleUnaryOperator firstItemOperator, DoubleUnaryOperator secondItemOperator)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.