Package weka.core.pmml.jaxbbindings
Class MiningField
java.lang.Object
weka.core.pmml.jaxbbindings.MiningField
Java class for MiningField element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="MiningField">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="highValue" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="importance" type="{http://www.dmg.org/PMML-4_1}PROB-NUMBER" />
<attribute name="invalidValueTreatment" type="{http://www.dmg.org/PMML-4_1}INVALID-VALUE-TREATMENT-METHOD" default="returnInvalid" />
<attribute name="lowValue" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="missingValueReplacement" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="missingValueTreatment" type="{http://www.dmg.org/PMML-4_1}MISSING-VALUE-TREATMENT-METHOD" />
<attribute name="name" use="required" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
<attribute name="optype" type="{http://www.dmg.org/PMML-4_1}OPTYPE" />
<attribute name="outliers" type="{http://www.dmg.org/PMML-4_1}OUTLIER-TREATMENT-METHOD" default="asIs" />
<attribute name="usageType" type="{http://www.dmg.org/PMML-4_1}FIELD-USAGE-TYPE" default="active" />
</restriction>
</complexContent>
</complexType>
</element>
-
Constructor Summary
ConstructorsConstructorDescriptionMiningField(String name, FIELDUSAGETYPE usageType) MiningField(String name, FIELDUSAGETYPE usageType, MISSINGVALUETREATMENTMETHOD missingValueTreatment, String missingValueReplacement) -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the extension property.Gets the value of the highValue property.Gets the value of the importance property.Gets the value of the invalidValueTreatment property.Gets the value of the lowValue property.Gets the value of the missingValueReplacement property.Gets the value of the missingValueTreatment property.getName()Gets the value of the name property.Gets the value of the optype property.Gets the value of the outliers property.Gets the value of the usageType property.voidsetHighValue(Double value) Sets the value of the highValue property.voidsetImportance(BigDecimal value) Sets the value of the importance property.voidSets the value of the invalidValueTreatment property.voidsetLowValue(Double value) Sets the value of the lowValue property.voidsetMissingValueReplacement(String value) Sets the value of the missingValueReplacement property.voidSets the value of the missingValueTreatment property.voidSets the value of the name property.voidSets the value of the optype property.voidSets the value of the outliers property.voidsetUsageType(FIELDUSAGETYPE value) Sets the value of the usageType property.
-
Constructor Details
-
MiningField
public MiningField() -
MiningField
-
MiningField
public MiningField(String name, FIELDUSAGETYPE usageType, MISSINGVALUETREATMENTMETHOD missingValueTreatment, String missingValueReplacement)
-
-
Method Details
-
getExtension
Gets the value of the extension property.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
setmethod for the extension property.For example, to add a new item, do as follows:
getExtension().add(newItem);Objects of the following type(s) are allowed in the list
Extension -
getHighValue
Gets the value of the highValue property.- Returns:
- possible object is
Double
-
setHighValue
Sets the value of the highValue property.- Parameters:
value- allowed object isDouble
-
getImportance
Gets the value of the importance property.- Returns:
- possible object is
BigDecimal
-
setImportance
Sets the value of the importance property.- Parameters:
value- allowed object isBigDecimal
-
getInvalidValueTreatment
Gets the value of the invalidValueTreatment property.- Returns:
- possible object is
INVALIDVALUETREATMENTMETHOD
-
setInvalidValueTreatment
Sets the value of the invalidValueTreatment property.- Parameters:
value- allowed object isINVALIDVALUETREATMENTMETHOD
-
getLowValue
Gets the value of the lowValue property.- Returns:
- possible object is
Double
-
setLowValue
Sets the value of the lowValue property.- Parameters:
value- allowed object isDouble
-
getMissingValueReplacement
Gets the value of the missingValueReplacement property.- Returns:
- possible object is
String
-
setMissingValueReplacement
Sets the value of the missingValueReplacement property.- Parameters:
value- allowed object isString
-
getMissingValueTreatment
Gets the value of the missingValueTreatment property.- Returns:
- possible object is
MISSINGVALUETREATMENTMETHOD
-
setMissingValueTreatment
Sets the value of the missingValueTreatment property.- Parameters:
value- allowed object isMISSINGVALUETREATMENTMETHOD
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getOptype
Gets the value of the optype property.- Returns:
- possible object is
OPTYPE
-
setOptype
Sets the value of the optype property.- Parameters:
value- allowed object isOPTYPE
-
getOutliers
Gets the value of the outliers property.- Returns:
- possible object is
OUTLIERTREATMENTMETHOD
-
setOutliers
Sets the value of the outliers property.- Parameters:
value- allowed object isOUTLIERTREATMENTMETHOD
-
getUsageType
Gets the value of the usageType property.- Returns:
- possible object is
FIELDUSAGETYPE
-
setUsageType
Sets the value of the usageType property.- Parameters:
value- allowed object isFIELDUSAGETYPE
-