public class MiningField extends PMMLObject implements HasExtensions, Indexable<FieldName>
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" use="required" type="{http://www.dmg.org/PMML-4_3}FIELD-NAME" />
<attribute name="usageType" default="active">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="active"/>
<enumeration value="predicted"/>
<enumeration value="target"/>
<enumeration value="supplementary"/>
<enumeration value="group"/>
<enumeration value="order"/>
<enumeration value="frequencyWeight"/>
<enumeration value="analysisWeight"/>
</restriction>
</simpleType>
</attribute>
<attribute name="optype" type="{http://www.dmg.org/PMML-4_3}OPTYPE" />
<attribute name="importance" type="{http://www.dmg.org/PMML-4_3}PROB-NUMBER" />
<attribute name="outliers" type="{http://www.dmg.org/PMML-4_3}OUTLIER-TREATMENT-METHOD" default="asIs" />
<attribute name="lowValue" type="{http://www.dmg.org/PMML-4_3}NUMBER" />
<attribute name="highValue" type="{http://www.dmg.org/PMML-4_3}NUMBER" />
<attribute name="missingValueReplacement" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="missingValueTreatment" type="{http://www.dmg.org/PMML-4_3}MISSING-VALUE-TREATMENT-METHOD" />
<attribute name="invalidValueTreatment" type="{http://www.dmg.org/PMML-4_3}INVALID-VALUE-TREATMENT-METHOD" default="returnInvalid" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
MiningField.UsageType
Java class for null.
|
| Constructor and Description |
|---|
MiningField() |
MiningField(FieldName name) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
MiningField |
addExtensions(Extension... extensions) |
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Double |
getHighValue()
Gets the value of the highValue property.
|
Double |
getImportance()
Gets the value of the importance property.
|
InvalidValueTreatmentMethod |
getInvalidValueTreatment()
Gets the value of the invalidValueTreatment property.
|
FieldName |
getKey() |
Double |
getLowValue()
Gets the value of the lowValue property.
|
String |
getMissingValueReplacement()
Gets the value of the missingValueReplacement property.
|
MissingValueTreatmentMethod |
getMissingValueTreatment()
Gets the value of the missingValueTreatment property.
|
FieldName |
getName()
Gets the value of the name property.
|
OpType |
getOpType()
Gets the value of the opType property.
|
OutlierTreatmentMethod |
getOutlierTreatment()
Gets the value of the outlierTreatment property.
|
MiningField.UsageType |
getUsageType()
Gets the value of the usageType property.
|
boolean |
hasExtensions() |
MiningField |
setHighValue(Double highValue)
Sets the value of the highValue property.
|
MiningField |
setImportance(Double importance)
Sets the value of the importance property.
|
MiningField |
setInvalidValueTreatment(InvalidValueTreatmentMethod invalidValueTreatment)
Sets the value of the invalidValueTreatment property.
|
MiningField |
setLowValue(Double lowValue)
Sets the value of the lowValue property.
|
MiningField |
setMissingValueReplacement(String missingValueReplacement)
Sets the value of the missingValueReplacement property.
|
MiningField |
setMissingValueTreatment(MissingValueTreatmentMethod missingValueTreatment)
Sets the value of the missingValueTreatment property.
|
MiningField |
setName(FieldName name)
Sets the value of the name property.
|
MiningField |
setOpType(OpType opType)
Sets the value of the opType property.
|
MiningField |
setOutlierTreatment(OutlierTreatmentMethod outlierTreatment)
Sets the value of the outlierTreatment property.
|
MiningField |
setUsageType(MiningField.UsageType usageType)
Sets the value of the usageType property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic MiningField()
public MiningField(FieldName name)
public FieldName getName()
Stringpublic MiningField setName(FieldName name)
name - allowed object is
Stringpublic MiningField.UsageType getUsageType()
MiningField.UsageTypepublic MiningField setUsageType(MiningField.UsageType usageType)
usageType - allowed object is
MiningField.UsageTypepublic OpType getOpType()
OpTypepublic MiningField setOpType(OpType opType)
opType - allowed object is
OpTypepublic Double getImportance()
Doublepublic MiningField setImportance(Double importance)
importance - allowed object is
Doublepublic OutlierTreatmentMethod getOutlierTreatment()
OutlierTreatmentMethodpublic MiningField setOutlierTreatment(OutlierTreatmentMethod outlierTreatment)
outlierTreatment - allowed object is
OutlierTreatmentMethodpublic Double getLowValue()
Doublepublic MiningField setLowValue(Double lowValue)
lowValue - allowed object is
Doublepublic Double getHighValue()
Doublepublic MiningField setHighValue(Double highValue)
highValue - allowed object is
Doublepublic String getMissingValueReplacement()
Stringpublic MiningField setMissingValueReplacement(String missingValueReplacement)
missingValueReplacement - allowed object is
Stringpublic MissingValueTreatmentMethod getMissingValueTreatment()
MissingValueTreatmentMethodpublic MiningField setMissingValueTreatment(MissingValueTreatmentMethod missingValueTreatment)
missingValueTreatment - allowed object is
MissingValueTreatmentMethodpublic InvalidValueTreatmentMethod getInvalidValueTreatment()
InvalidValueTreatmentMethodpublic MiningField setInvalidValueTreatment(InvalidValueTreatmentMethod invalidValueTreatment)
invalidValueTreatment - allowed object is
InvalidValueTreatmentMethodpublic List<Extension> getExtensions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
getExtensions in interface HasExtensionspublic FieldName getKey()
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic MiningField addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.