public abstract class KiePMMLModel extends AbstractKiePMMLComponent implements PMMLModel
| Modifier and Type | Class and Description |
|---|---|
static class |
KiePMMLModel.Builder<T extends KiePMMLModel> |
| Modifier and Type | Field and Description |
|---|---|
protected Object |
affinity |
protected Object |
entityId |
protected List<KiePMMLOutputField> |
kiePMMLOutputFields |
protected List<KiePMMLTarget> |
kiePMMLTargets |
protected KiePMMLLocalTransformations |
localTransformations |
protected List<MiningField> |
miningFields |
protected MINING_FUNCTION |
miningFunction |
protected Map<String,Object> |
missingValueReplacementMap |
protected List<OutputField> |
outputFields |
protected Map<String,Object> |
outputFieldsMap |
protected PMML_MODEL |
pmmlMODEL |
protected Object |
predictedDisplayValue |
protected String |
targetField |
protected KiePMMLTransformationDictionary |
transformationDictionary |
extensions, id, name, parentId| Modifier | Constructor and Description |
|---|---|
protected |
KiePMMLModel(String name,
List<KiePMMLExtension> extensions) |
getExtensions, getId, getName, getParentId, setParentIdprotected PMML_MODEL pmmlMODEL
protected MINING_FUNCTION miningFunction
protected String targetField
protected List<MiningField> miningFields
protected List<OutputField> outputFields
protected List<KiePMMLOutputField> kiePMMLOutputFields
protected List<KiePMMLTarget> kiePMMLTargets
protected KiePMMLTransformationDictionary transformationDictionary
protected KiePMMLLocalTransformations localTransformations
protected Object predictedDisplayValue
protected Object entityId
protected Object affinity
protected KiePMMLModel(String name, List<KiePMMLExtension> extensions)
public PMML_MODEL getPmmlMODEL()
public MINING_FUNCTION getMiningFunction()
public String getTargetField()
public String getKModulePackageName()
public List<MiningField> getMiningFields()
getMiningFields in interface PMMLModelpublic void setMiningFields(List<MiningField> miningFields)
public List<OutputField> getOutputFields()
getOutputFields in interface PMMLModelpublic void setOutputFields(List<OutputField> outputFields)
public List<KiePMMLTarget> getKiePMMLTargets()
public void setKiePMMLTargets(List<KiePMMLTarget> kiePMMLTargets)
public List<KiePMMLOutputField> getKiePMMLOutputFields()
public KiePMMLTransformationDictionary getTransformationDictionary()
public KiePMMLLocalTransformations getLocalTransformations()
public Object getPredictedDisplayValue()
protected void setPredictedDisplayValue(Object predictedDisplayValue)
public Object getEntityId()
protected void setEntityId(Object entityId)
public Object getAffinity()
protected void setAffinity(Object affinity)
public abstract Object evaluate(Object knowledgeBase, Map<String,Object> requestData)
knowledgeBase - the knowledgeBase we are working on. Add as Object to avoid direct
dependency. It is needed only by Drools-dependent
models, so it may be ignored by othersrequestData - Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.