public interface PMMLRuntime
| Modifier and Type | Method and Description |
|---|---|
org.kie.api.pmml.PMML4Result |
evaluate(String modelName,
PMMLContext context)
Evaluate the model, given the context
|
org.kie.api.KieBase |
getKnowledgeBase()
Returns the
KieBase used by the current PMMLRuntime |
Optional<KiePMMLModel> |
getModel(String modelName)
Returns the model registered with the given model name.
|
List<KiePMMLModel> |
getModels()
Returns a list of all models available to this runtime
|
org.kie.api.KieBase getKnowledgeBase()
KieBase used by the current PMMLRuntimeList<KiePMMLModel> getModels()
Optional<KiePMMLModel> getModel(String modelName)
modelName - the name of the modelOptional with
the KiePMMLModel retrieved, or an empty one if none
is registered with the given name.org.kie.api.pmml.PMML4Result evaluate(String modelName, PMMLContext context)
modelName - the name of the model to evaluatecontext - the context with all the input variablesCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.