| Package | Description |
|---|---|
| org.jpmml.evaluator | |
| org.jpmml.evaluator.functions |
| Modifier and Type | Class and Description |
|---|---|
class |
CategoricalValue |
class |
ContinuousValue |
class |
OrdinalValue |
| Modifier and Type | Method and Description |
|---|---|
static FieldValue |
FieldValueUtil.create(org.dmg.pmml.DataField dataField,
org.dmg.pmml.MiningField miningField,
Object value)
Creates a FieldValue for an active field.
|
static FieldValue |
FieldValueUtil.create(org.dmg.pmml.DataField dataField,
org.dmg.pmml.MiningField miningField,
org.dmg.pmml.Target target,
Object value)
Creates a FieldValue for a target field.
|
static FieldValue |
FieldValueUtil.create(org.dmg.pmml.DataType dataType,
org.dmg.pmml.OpType opType,
Object value) |
static FieldValue |
FieldValueUtil.create(org.dmg.pmml.Field field,
Object value) |
static FieldValue |
FieldValueUtil.create(Object value) |
FieldValue |
ModelEvaluationContext.createFieldValue(org.dmg.pmml.FieldName name,
Object value) |
FieldValue |
PMMLEvaluationContext.createFieldValue(org.dmg.pmml.FieldName name,
Object value) |
FieldValue |
EvaluationContext.createFieldValue(org.dmg.pmml.FieldName name,
Object value) |
static FieldValue |
DiscretizationUtil.discretize(org.dmg.pmml.Discretize discretize,
FieldValue value) |
static FieldValue |
FieldValueUtil.enhance(org.dmg.pmml.TypeDefinitionField field,
FieldValue value) |
static FieldValue |
FunctionUtil.evaluate(org.dmg.pmml.Apply apply,
List<FieldValue> values,
EvaluationContext context) |
static FieldValue |
FunctionUtil.evaluate(org.dmg.pmml.DefineFunction defineFunction,
List<FieldValue> values,
EvaluationContext context) |
static FieldValue |
ExpressionUtil.evaluate(org.dmg.pmml.DerivedField derivedField,
EvaluationContext context) |
static FieldValue |
ExpressionUtil.evaluate(org.dmg.pmml.Expression expression,
EvaluationContext context) |
static FieldValue |
ExpressionUtil.evaluate(org.dmg.pmml.FieldName name,
EvaluationContext context) |
FieldValue |
Function.evaluate(List<FieldValue> arguments)
Evaluates this function with the specified arguments.
|
static FieldValue |
ExpressionUtil.evaluateAggregate(org.dmg.pmml.Aggregate aggregate,
EvaluationContext context) |
static FieldValue |
ExpressionUtil.evaluateApply(org.dmg.pmml.Apply apply,
EvaluationContext context) |
static FieldValue |
ExpressionUtil.evaluateConstant(org.dmg.pmml.Constant constant,
EvaluationContext context) |
static FieldValue |
ExpressionUtil.evaluateDiscretize(org.dmg.pmml.Discretize discretize,
EvaluationContext context) |
static FieldValue |
ExpressionUtil.evaluateFieldRef(org.dmg.pmml.FieldRef fieldRef,
EvaluationContext context) |
static FieldValue |
ExpressionUtil.evaluateMapValues(org.dmg.pmml.MapValues mapValues,
EvaluationContext context) |
static FieldValue |
ExpressionUtil.evaluateNormContinuous(org.dmg.pmml.NormContinuous normContinuous,
EvaluationContext context) |
static FieldValue |
ExpressionUtil.evaluateNormDiscrete(org.dmg.pmml.NormDiscrete normDiscrete,
EvaluationContext context) |
FieldValue |
EvaluationContext.getField(org.dmg.pmml.FieldName name) |
static FieldValue |
DiscretizationUtil.mapValue(org.dmg.pmml.MapValues mapValues,
Map<String,FieldValue> values) |
static FieldValue |
NormalizationUtil.normalize(org.dmg.pmml.NormContinuous normContinuous,
FieldValue value) |
static FieldValue |
ArgumentUtil.prepare(org.dmg.pmml.DataField dataField,
org.dmg.pmml.MiningField miningField,
Object value) |
static FieldValue |
EvaluatorUtil.prepare(Evaluator evaluator,
org.dmg.pmml.FieldName name,
Object value) |
FieldValue |
ModelEvaluator.prepare(org.dmg.pmml.FieldName name,
Object value) |
FieldValue |
Evaluator.prepare(org.dmg.pmml.FieldName name,
Object value)
Prepares the input value for a field.
|
static FieldValue |
FieldValueUtil.refine(org.dmg.pmml.DataType dataType,
org.dmg.pmml.OpType opType,
FieldValue value) |
static FieldValue |
FieldValueUtil.refine(org.dmg.pmml.Field field,
FieldValue value) |
| Modifier and Type | Method and Description |
|---|---|
static List<FieldValue> |
FieldValueUtil.createAll(List<?> values) |
Map.Entry<org.dmg.pmml.FieldName,FieldValue> |
ModelEvaluationContext.getFieldEntry(org.dmg.pmml.FieldName name) |
Map.Entry<org.dmg.pmml.FieldName,FieldValue> |
EvaluationContext.getFieldEntry(org.dmg.pmml.FieldName name) |
Map<org.dmg.pmml.FieldName,FieldValue> |
EvaluationContext.getFields() |
| Modifier and Type | Method and Description |
|---|---|
int |
CategoricalValue.compareToValue(FieldValue that) |
int |
ContinuousValue.compareToValue(FieldValue value) |
int |
FieldValue.compareToValue(FieldValue value) |
int |
OrdinalValue.compareToValue(FieldValue value) |
void |
EvaluationContext.declare(org.dmg.pmml.FieldName name,
FieldValue value) |
static FieldValue |
DiscretizationUtil.discretize(org.dmg.pmml.Discretize discretize,
FieldValue value) |
static FieldValue |
FieldValueUtil.enhance(org.dmg.pmml.TypeDefinitionField field,
FieldValue value) |
boolean |
FieldValue.equalsValue(FieldValue value) |
static Double |
OutputUtil.getCategoricalResidual(Object object,
FieldValue expectedObject) |
static <V> V |
FieldValueUtil.getValue(Class<? extends V> clazz,
FieldValue value) |
static Object |
FieldValueUtil.getValue(FieldValue value) |
static FieldValue |
NormalizationUtil.normalize(org.dmg.pmml.NormContinuous normContinuous,
FieldValue value) |
static FieldValue |
FieldValueUtil.refine(org.dmg.pmml.DataType dataType,
org.dmg.pmml.OpType opType,
FieldValue value) |
static FieldValue |
FieldValueUtil.refine(org.dmg.pmml.Field field,
FieldValue value) |
| Modifier and Type | Method and Description |
|---|---|
static Double |
MeasureUtil.calculateAdjustment(List<FieldValue> values) |
static Double |
MeasureUtil.calculateAdjustment(List<FieldValue> values,
List<? extends Number> adjustmentValues) |
boolean |
FieldValue.equalsAnyValue(Iterable<FieldValue> values) |
static FieldValue |
FunctionUtil.evaluate(org.dmg.pmml.Apply apply,
List<FieldValue> values,
EvaluationContext context) |
static FieldValue |
FunctionUtil.evaluate(org.dmg.pmml.DefineFunction defineFunction,
List<FieldValue> values,
EvaluationContext context) |
FieldValue |
Function.evaluate(List<FieldValue> arguments)
Evaluates this function with the specified arguments.
|
static Double |
MeasureUtil.evaluateDistance(org.dmg.pmml.ComparisonMeasure comparisonMeasure,
List<? extends org.dmg.pmml.ComparisonField> comparisonFields,
List<FieldValue> values,
List<FieldValue> referenceValues,
Double adjustment) |
static Double |
MeasureUtil.evaluateDistance(org.dmg.pmml.ComparisonMeasure comparisonMeasure,
List<? extends org.dmg.pmml.ComparisonField> comparisonFields,
List<FieldValue> values,
List<FieldValue> referenceValues,
Double adjustment) |
static FieldValue |
DiscretizationUtil.mapValue(org.dmg.pmml.MapValues mapValues,
Map<String,FieldValue> values) |
static Map<String,String> |
InlineTableUtil.match(com.google.common.collect.Table<Integer,String,String> table,
Map<String,FieldValue> values) |
static BitSet |
MeasureUtil.toBitSet(List<FieldValue> values) |
| Modifier and Type | Method and Description |
|---|---|
FieldValue |
UnaryBooleanFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
ComparisonFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
AggregateFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
MathFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
ValueFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
ArithmeticFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
BinaryBooleanFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
EqualityFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
StringFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
ValueListFunction.evaluate(List<FieldValue> arguments) |
| Modifier and Type | Method and Description |
|---|---|
abstract Boolean |
ValueFunction.evaluate(FieldValue value) |
abstract Boolean |
ValueListFunction.evaluate(FieldValue value,
List<FieldValue> values) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractFunction.checkArguments(List<FieldValue> arguments,
int size) |
protected void |
AbstractFunction.checkArguments(List<FieldValue> arguments,
int size,
boolean allowNulls)
Validates arguments for a function that has a fixed number of formal parameters.
|
protected void |
AbstractFunction.checkVariableArguments(List<FieldValue> arguments,
int minSize) |
protected void |
AbstractFunction.checkVariableArguments(List<FieldValue> arguments,
int minSize,
boolean allowNulls)
Validates arguments for a function that has a variable number ("
n or more") of formal parameters. |
abstract Boolean |
ValueListFunction.evaluate(FieldValue value,
List<FieldValue> values) |
FieldValue |
UnaryBooleanFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
ComparisonFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
AggregateFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
MathFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
ValueFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
ArithmeticFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
BinaryBooleanFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
EqualityFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
StringFunction.evaluate(List<FieldValue> arguments) |
FieldValue |
ValueListFunction.evaluate(List<FieldValue> arguments) |
Copyright © 2015. All Rights Reserved.