public abstract class KiePMMLRegressionTable extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,SerializableFunction<Object,Double>> |
categoricalFunctionMap |
protected double |
intercept |
protected Map<String,SerializableFunction<Double,Double>> |
numericFunctionMap |
protected Map<String,Object> |
outputFieldsMap |
protected Map<String,SerializableFunction<Map<String,Object>,Double>> |
predictorTermsFunctionMap |
protected String |
targetField |
| Constructor and Description |
|---|
KiePMMLRegressionTable() |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluateRegression(Map<String,Object> input) |
Map<String,SerializableFunction<Object,Double>> |
getCategoricalFunctionMap() |
double |
getIntercept() |
Map<String,SerializableFunction<Double,Double>> |
getNumericFunctionMap() |
Map<String,Object> |
getOutputFieldsMap() |
Map<String,SerializableFunction<Map<String,Object>,Double>> |
getPredictorTermsFunctionMap() |
abstract Object |
getTargetCategory() |
String |
getTargetField() |
protected abstract void |
populateOutputFieldsMapWithResult(Object result) |
protected abstract void |
updateResult(AtomicReference<Double> toUpdate) |
protected Map<String,SerializableFunction<Double,Double>> numericFunctionMap
protected Map<String,SerializableFunction<Object,Double>> categoricalFunctionMap
protected Map<String,SerializableFunction<Map<String,Object>,Double>> predictorTermsFunctionMap
protected double intercept
protected String targetField
public abstract Object getTargetCategory()
public String getTargetField()
public Map<String,SerializableFunction<Double,Double>> getNumericFunctionMap()
public Map<String,SerializableFunction<Object,Double>> getCategoricalFunctionMap()
public Map<String,SerializableFunction<Map<String,Object>,Double>> getPredictorTermsFunctionMap()
public double getIntercept()
protected abstract void updateResult(AtomicReference<Double> toUpdate)
protected abstract void populateOutputFieldsMapWithResult(Object result)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.