| 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.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) |
static FieldValue |
FieldValueUtil.createActiveValue(org.dmg.pmml.Field field,
org.dmg.pmml.MiningField miningField,
Object value) |
FieldValue |
DefineFunctionEvaluationContext.createFieldValue(org.dmg.pmml.FieldName name,
Object value) |
protected FieldValue |
ModelEvaluationContext.createFieldValue(org.dmg.pmml.FieldName name,
Object value) |
protected FieldValue |
PMMLEvaluationContext.createFieldValue(org.dmg.pmml.FieldName name,
Object value) |
protected abstract FieldValue |
EvaluationContext.createFieldValue(org.dmg.pmml.FieldName name,
Object value) |
static FieldValue |
FieldValueUtil.createMissingActiveValue(org.dmg.pmml.Field field,
org.dmg.pmml.MiningField miningField) |
static FieldValue |
FieldValueUtil.createTargetValue(org.dmg.pmml.Field field,
org.dmg.pmml.MiningField miningField,
org.dmg.pmml.Target target,
Object value) |
FieldValue |
EvaluationContext.declare(org.dmg.pmml.FieldName name,
FieldValue value) |
FieldValue |
EvaluationContext.declare(org.dmg.pmml.FieldName name,
Object value) |
static FieldValue |
DiscretizationUtil.discretize(org.dmg.pmml.Discretize discretize,
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) |
FieldValue |
EvaluationContext.evaluate(org.dmg.pmml.FieldName name) |
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) |
FieldValue |
HasParsedValue.getValue(org.dmg.pmml.DataType dataType,
org.dmg.pmml.OpType opType) |
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 |
FieldValueUtil.performInvalidValueTreatment(org.dmg.pmml.Field field,
org.dmg.pmml.MiningField miningField,
Object value) |
static FieldValue |
FieldValueUtil.performMissingValueTreatment(org.dmg.pmml.Field field,
org.dmg.pmml.MiningField miningField) |
static FieldValue |
FieldValueUtil.performValidValueTreatment(org.dmg.pmml.Field field,
org.dmg.pmml.MiningField miningField,
Object value) |
static FieldValue |
FieldValueUtil.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) |
protected FieldValue |
ModelEvaluationContext.resolve(org.dmg.pmml.FieldName name) |
protected FieldValue |
PMMLEvaluationContext.resolve(org.dmg.pmml.FieldName name) |
protected FieldValue |
EvaluationContext.resolve(org.dmg.pmml.FieldName name) |
| Modifier and Type | Method and Description |
|---|---|
static List<FieldValue> |
FieldValueUtil.createAll(List<?> values) |
Map<org.dmg.pmml.FieldName,FieldValue> |
EvaluationContext.getFields() |
Map<FieldValue,V> |
HasParsedValueMapping.getValueMapping(org.dmg.pmml.DataType dataType,
org.dmg.pmml.OpType opType) |
Set<FieldValue> |
HasParsedValueSet.getValueSet(org.dmg.pmml.DataType dataType,
org.dmg.pmml.OpType opType) |
| Modifier and Type | Method and Description |
|---|---|
int |
FieldValue.compareTo(FieldValue that) |
int |
CategoricalValue.compareToValue(FieldValue value) |
int |
ContinuousValue.compareToValue(FieldValue value) |
int |
FieldValue.compareToValue(FieldValue value)
A value-safe replacement for
compareTo(FieldValue)
|
int |
OrdinalValue.compareToValue(FieldValue value) |
FieldValue |
EvaluationContext.declare(org.dmg.pmml.FieldName name,
FieldValue value) |
static FieldValue |
DiscretizationUtil.discretize(org.dmg.pmml.Discretize discretize,
FieldValue value) |
boolean |
FieldValue.equalsValue(FieldValue value)
A value-safe replacement for
#equals(FieldValue). |
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) |
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) |
int |
FieldValue.indexInValues(Iterable<FieldValue> values) |
static FieldValue |
DiscretizationUtil.mapValue(org.dmg.pmml.MapValues mapValues,
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) |
| 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. |
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 © 2016. All Rights Reserved.