public class ModelEvaluationContext extends EvaluationContext
DERIVEDFIELD_GUARD_PROVIDER, FUNCTION_GUARD_PROVIDER| Constructor and Description |
|---|
ModelEvaluationContext(ModelEvaluator<?> modelEvaluator) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,?> |
getArguments() |
protected org.dmg.pmml.DefineFunction |
getDefineFunction(String name) |
ModelEvaluator<?> |
getModelEvaluator() |
MiningModelEvaluationContext |
getParent() |
protected FieldValue |
prepare(String name,
Object value) |
void |
reset(boolean clearValues) |
protected FieldValue |
resolve(String name) |
void |
setArguments(Map<String,?> arguments) |
void |
setModelEvaluator(ModelEvaluator<?> modelEvaluator) |
void |
setParent(MiningModelEvaluationContext parent) |
addWarning, declare, declare, declareAll, evaluate, evaluateAll, getValues, getWarnings, lookuppublic ModelEvaluationContext(ModelEvaluator<?> modelEvaluator)
public void reset(boolean clearValues)
reset in class EvaluationContextprotected FieldValue prepare(String name, Object value)
prepare in class EvaluationContextprotected FieldValue resolve(String name)
resolve in class EvaluationContextprotected org.dmg.pmml.DefineFunction getDefineFunction(String name)
getDefineFunction in class EvaluationContextpublic ModelEvaluator<?> getModelEvaluator()
public void setModelEvaluator(ModelEvaluator<?> modelEvaluator)
public MiningModelEvaluationContext getParent()
public void setParent(MiningModelEvaluationContext parent)
Copyright © 2021. All rights reserved.