public class FieldValueUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static FieldValue |
create(org.dmg.pmml.DataType dataType,
org.dmg.pmml.OpType opType,
java.lang.Object value) |
static FieldValue |
create(org.dmg.pmml.Field field,
java.lang.Object value) |
static java.util.List<FieldValue> |
createAll(org.dmg.pmml.DataType dataType,
org.dmg.pmml.OpType opType,
java.util.List<?> values) |
static java.util.List<java.lang.String> |
getTargetCategories(org.dmg.pmml.TypeDefinitionField field) |
static com.google.common.collect.RangeSet<java.lang.Double> |
getValidRanges(org.dmg.pmml.DataField dataField) |
static org.dmg.pmml.Value |
getValidValue(org.dmg.pmml.TypeDefinitionField field,
java.lang.Object value) |
static java.util.List<org.dmg.pmml.Value> |
getValidValues(org.dmg.pmml.TypeDefinitionField field) |
static <V> V |
getValue(java.lang.Class<? extends V> clazz,
FieldValue value) |
static java.lang.Object |
getValue(FieldValue value) |
static FieldValue |
performInvalidValueTreatment(org.dmg.pmml.Field field,
org.dmg.pmml.MiningField miningField,
java.lang.Object value) |
static FieldValue |
performMissingValueTreatment(org.dmg.pmml.Field field,
org.dmg.pmml.MiningField miningField) |
static FieldValue |
performValidValueTreatment(org.dmg.pmml.Field field,
org.dmg.pmml.MiningField miningField,
FieldValue value) |
static FieldValue |
prepareInputValue(org.dmg.pmml.Field field,
org.dmg.pmml.MiningField miningField,
java.lang.Object value) |
static FieldValue |
prepareTargetValue(org.dmg.pmml.DataField dataField,
org.dmg.pmml.MiningField miningField,
org.dmg.pmml.Target target,
java.lang.Object value) |
static FieldValue |
refine(org.dmg.pmml.DataType dataType,
org.dmg.pmml.OpType opType,
FieldValue value) |
static FieldValue |
refine(org.dmg.pmml.Field field,
FieldValue value) |
public static FieldValue prepareInputValue(org.dmg.pmml.Field field, org.dmg.pmml.MiningField miningField, java.lang.Object value)
public static FieldValue prepareTargetValue(org.dmg.pmml.DataField dataField, org.dmg.pmml.MiningField miningField, org.dmg.pmml.Target target, java.lang.Object value)
public static FieldValue performValidValueTreatment(org.dmg.pmml.Field field, org.dmg.pmml.MiningField miningField, FieldValue value)
public static FieldValue performInvalidValueTreatment(org.dmg.pmml.Field field, org.dmg.pmml.MiningField miningField, java.lang.Object value)
public static FieldValue performMissingValueTreatment(org.dmg.pmml.Field field, org.dmg.pmml.MiningField miningField)
public static FieldValue create(org.dmg.pmml.Field field, java.lang.Object value)
public static FieldValue create(org.dmg.pmml.DataType dataType, org.dmg.pmml.OpType opType, java.lang.Object value)
dataType - The data type. If null, then the PMML data type will be derived from the Java data type of the value.opType - The operational type. If null, then the operational type will be derived from the data type.value - The value.public static java.util.List<FieldValue> createAll(org.dmg.pmml.DataType dataType, org.dmg.pmml.OpType opType, java.util.List<?> values)
public static FieldValue refine(org.dmg.pmml.Field field, FieldValue value)
public static FieldValue refine(org.dmg.pmml.DataType dataType, org.dmg.pmml.OpType opType, FieldValue value)
public static java.lang.Object getValue(FieldValue value)
public static <V> V getValue(java.lang.Class<? extends V> clazz,
FieldValue value)
public static org.dmg.pmml.Value getValidValue(org.dmg.pmml.TypeDefinitionField field,
java.lang.Object value)
public static java.util.List<org.dmg.pmml.Value> getValidValues(org.dmg.pmml.TypeDefinitionField field)
public static java.util.List<java.lang.String> getTargetCategories(org.dmg.pmml.TypeDefinitionField field)
public static com.google.common.collect.RangeSet<java.lang.Double> getValidRanges(org.dmg.pmml.DataField dataField)
Copyright © 2017. All Rights Reserved.