Class KiePMMLRegressionTable
- java.lang.Object
-
- org.kie.pmml.models.regression.model.KiePMMLRegressionTable
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
KiePMMLRegressionClassificationTable
public abstract class KiePMMLRegressionTable extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,org.kie.pmml.api.iinterfaces.SerializableFunction<Object,Double>>categoricalFunctionMapprotected doubleinterceptprotected Map<String,org.kie.pmml.api.iinterfaces.SerializableFunction<Double,Double>>numericFunctionMapprotected Map<String,Object>outputFieldsMapprotected Map<String,org.kie.pmml.api.iinterfaces.SerializableFunction<Map<String,Object>,Double>>predictorTermsFunctionMapprotected StringtargetField
-
Constructor Summary
Constructors Constructor Description KiePMMLRegressionTable()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ObjectevaluateRegression(Map<String,Object> input)Map<String,org.kie.pmml.api.iinterfaces.SerializableFunction<Object,Double>>getCategoricalFunctionMap()doublegetIntercept()Map<String,org.kie.pmml.api.iinterfaces.SerializableFunction<Double,Double>>getNumericFunctionMap()Map<String,Object>getOutputFieldsMap()Map<String,org.kie.pmml.api.iinterfaces.SerializableFunction<Map<String,Object>,Double>>getPredictorTermsFunctionMap()LinkedHashMap<String,Double>getProbabilityResultMap()abstract ObjectgetTargetCategory()StringgetTargetField()protected abstract voidupdateResult(AtomicReference<Double> toUpdate)
-
-
-
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<Object,Double>> categoricalFunctionMap
-
predictorTermsFunctionMap
protected Map<String,org.kie.pmml.api.iinterfaces.SerializableFunction<Map<String,Object>,Double>> predictorTermsFunctionMap
-
intercept
protected double intercept
-
targetField
protected String targetField
-
-
Method Detail
-
getTargetCategory
public abstract Object getTargetCategory()
-
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<Object,Double>> getCategoricalFunctionMap()
-
getPredictorTermsFunctionMap
public Map<String,org.kie.pmml.api.iinterfaces.SerializableFunction<Map<String,Object>,Double>> getPredictorTermsFunctionMap()
-
getIntercept
public double getIntercept()
-
getProbabilityResultMap
public LinkedHashMap<String,Double> getProbabilityResultMap()
-
updateResult
protected abstract void updateResult(AtomicReference<Double> toUpdate)
-
-