public class TargetField extends ResultField
| Constructor and Description |
|---|
TargetField(org.dmg.pmml.DataField dataField,
org.dmg.pmml.MiningField miningField,
org.dmg.pmml.Target target) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCategories()
Returns the range of categories for this categorical or ordinal field.
|
org.dmg.pmml.DataField |
getField() |
org.dmg.pmml.FieldName |
getFieldName()
The name of this model field in PMML space.
|
org.dmg.pmml.MiningField |
getMiningField() |
org.dmg.pmml.OpType |
getOpType() |
org.dmg.pmml.Target |
getTarget() |
boolean |
isSynthetic() |
getDataType, getDisplayName, getName, toString, toStringHelperpublic TargetField(org.dmg.pmml.DataField dataField,
org.dmg.pmml.MiningField miningField,
org.dmg.pmml.Target target)
public org.dmg.pmml.FieldName getFieldName()
ModelFieldThe name of this model field in PMML space.
getFieldName in class ModelFieldnull (in the form of the constant Evaluator.DEFAULT_TARGET_NAME) if this is a synthetic target field.isSynthetic()public org.dmg.pmml.OpType getOpType()
getOpType in class ModelFieldpublic List<String> getCategories()
Returns the range of categories for this categorical or ordinal field.
null.getOpType(),
CategoricalResultFeature,
CategoricalResultFeature.getCategories()public boolean isSynthetic()
public org.dmg.pmml.DataField getField()
getField in class ModelFieldDataField element.public org.dmg.pmml.MiningField getMiningField()
MiningField element, or null if this a synthetic target field.isSynthetic()public org.dmg.pmml.Target getTarget()
Target element, or null.Copyright © 2019. All rights reserved.