public class ExpressionUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.dmg.pmml.Apply |
createApply(org.dmg.pmml.DefineFunction defineFunction,
org.dmg.pmml.Expression... expressions) |
static org.dmg.pmml.Apply |
createApply(String function,
org.dmg.pmml.Expression... expressions) |
static org.dmg.pmml.Constant |
createConstant(org.dmg.pmml.DataType dataType,
Object value) |
static org.dmg.pmml.Constant |
createConstant(Number value) |
static org.dmg.pmml.MapValues |
createMapValues(String name,
List<?> inputValues,
List<?> outputValues) |
static org.dmg.pmml.MapValues |
createMapValues(String name,
Map<?,?> mapping) |
static org.dmg.pmml.Constant |
createMissingConstant() |
static org.dmg.pmml.Apply |
createValueApply(org.dmg.pmml.Expression expression,
Collection<?> values) |
static org.dmg.pmml.Apply |
createValueApply(org.dmg.pmml.Expression expression,
org.dmg.pmml.DataType dataType,
Collection<?> values) |
static org.dmg.pmml.DataType |
getDataType(org.dmg.pmml.Expression expression,
FeatureResolver featureResolver) |
static boolean |
isString(org.dmg.pmml.Expression expression,
FeatureResolver featureResolver) |
static org.dmg.pmml.Expression |
toNegative(org.dmg.pmml.Expression expression) |
public static org.dmg.pmml.Apply createValueApply(org.dmg.pmml.Expression expression,
Collection<?> values)
public static org.dmg.pmml.Apply createValueApply(org.dmg.pmml.Expression expression,
org.dmg.pmml.DataType dataType,
Collection<?> values)
public static org.dmg.pmml.Apply createApply(org.dmg.pmml.DefineFunction defineFunction,
org.dmg.pmml.Expression... expressions)
public static org.dmg.pmml.Apply createApply(String function, org.dmg.pmml.Expression... expressions)
public static org.dmg.pmml.Constant createMissingConstant()
public static org.dmg.pmml.Constant createConstant(Number value)
public static org.dmg.pmml.Constant createConstant(org.dmg.pmml.DataType dataType,
Object value)
public static org.dmg.pmml.MapValues createMapValues(String name, List<?> inputValues, List<?> outputValues)
public static org.dmg.pmml.Expression toNegative(org.dmg.pmml.Expression expression)
public static boolean isString(org.dmg.pmml.Expression expression,
FeatureResolver featureResolver)
public static org.dmg.pmml.DataType getDataType(org.dmg.pmml.Expression expression,
FeatureResolver featureResolver)
Copyright © 2024. All rights reserved.