public class PMMLUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>> |
addValues(F field,
List<?> values) |
static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>> |
addValues(F field,
org.dmg.pmml.Value.Property property,
List<?> values) |
static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>> |
clearValues(F field,
org.dmg.pmml.Value.Property property) |
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.Array |
createArray(org.dmg.pmml.DataType dataType,
List<?> values) |
static org.dmg.pmml.Constant |
createConstant(Number value) |
static org.dmg.pmml.Constant |
createConstant(Object value,
org.dmg.pmml.DataType dataType) |
static org.dmg.pmml.Extension |
createExtension(String name,
Object... content) |
static org.dmg.pmml.Extension |
createExtension(String name,
String value) |
static org.dmg.pmml.Header |
createHeader(org.dmg.pmml.Application pmmlApplication) |
static org.dmg.pmml.Header |
createHeader(PMMLEncoder encoder) |
static org.dmg.pmml.Header |
createHeader(String name,
String version) |
static <K> org.dmg.pmml.InlineTable |
createInlineTable(Function<K,String> function,
Map<K,? extends List<?>> data) |
static org.dmg.pmml.InlineTable |
createInlineTable(Map<String,? extends List<?>> data) |
static org.dmg.pmml.Array |
createIntArray(List<Integer> values) |
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.Array |
createRealArray(List<? extends Number> values) |
static org.dmg.pmml.RealSparseArray |
createRealSparseArray(List<? extends Number> values,
Double defaultValue) |
static org.dmg.pmml.Array |
createStringArray(List<?> values) |
static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>> |
getValues(F field) |
static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>> |
getValues(F field,
org.dmg.pmml.Value.Property property) |
static org.dmg.pmml.Expression |
toNegative(org.dmg.pmml.Expression expression) |
public static org.dmg.pmml.Extension createExtension(String name, Object... content)
public static org.dmg.pmml.Header createHeader(PMMLEncoder encoder)
public static org.dmg.pmml.Header createHeader(org.dmg.pmml.Application pmmlApplication)
public static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>> List<?> getValues(F field)
public static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>> List<?> getValues(F field, org.dmg.pmml.Value.Property property)
public static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>> void addValues(F field,
List<?> values)
public static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>> void addValues(F field,
org.dmg.pmml.Value.Property property,
List<?> values)
public static <F extends org.dmg.pmml.Field<F> & org.dmg.pmml.HasDiscreteDomain<F>> void clearValues(F field,
org.dmg.pmml.Value.Property property)
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(Object value, org.dmg.pmml.DataType dataType)
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 org.dmg.pmml.Array createArray(org.dmg.pmml.DataType dataType,
List<?> values)
public static org.dmg.pmml.Array createStringArray(List<?> values)
public static org.dmg.pmml.RealSparseArray createRealSparseArray(List<? extends Number> values, Double defaultValue)
public static org.dmg.pmml.InlineTable createInlineTable(Map<String,? extends List<?>> data)
Copyright © 2023. All rights reserved.