Package weka.core.pmml.jaxbbindings
Class AssociationRule
java.lang.Object
weka.core.pmml.jaxbbindings.AssociationRule
Java class for AssociationRule element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="AssociationRule"> <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="affinity" type="{http://www.dmg.org/PMML-4_1}PROB-NUMBER" /> <attribute name="antecedent" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="confidence" use="required" type="{http://www.dmg.org/PMML-4_1}PROB-NUMBER" /> <attribute name="consequent" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="leverage" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="lift" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="support" use="required" type="{http://www.dmg.org/PMML-4_1}PROB-NUMBER" /> </restriction> </complexContent> </complexType> </element>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the affinity property.Gets the value of the antecedent property.Gets the value of the confidence property.Gets the value of the consequent property.Gets the value of the extension property.getId()
Gets the value of the id property.Gets the value of the leverage property.getLift()
Gets the value of the lift property.Gets the value of the support property.void
setAffinity
(BigDecimal value) Sets the value of the affinity property.void
setAntecedent
(String value) Sets the value of the antecedent property.void
setConfidence
(BigDecimal value) Sets the value of the confidence property.void
setConsequent
(String value) Sets the value of the consequent property.void
Sets the value of the id property.void
setLeverage
(Float value) Sets the value of the leverage property.void
Sets the value of the lift property.void
setSupport
(BigDecimal value) Sets the value of the support property.
-
Constructor Details
-
AssociationRule
public AssociationRule()
-
-
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
set
method 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
-
getAffinity
Gets the value of the affinity property.- Returns:
- possible object is
BigDecimal
-
setAffinity
Sets the value of the affinity property.- Parameters:
value
- allowed object isBigDecimal
-
getAntecedent
Gets the value of the antecedent property.- Returns:
- possible object is
String
-
setAntecedent
Sets the value of the antecedent property.- Parameters:
value
- allowed object isString
-
getConfidence
Gets the value of the confidence property.- Returns:
- possible object is
BigDecimal
-
setConfidence
Sets the value of the confidence property.- Parameters:
value
- allowed object isBigDecimal
-
getConsequent
Gets the value of the consequent property.- Returns:
- possible object is
String
-
setConsequent
Sets the value of the consequent property.- Parameters:
value
- allowed object isString
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getLeverage
Gets the value of the leverage property.- Returns:
- possible object is
Float
-
setLeverage
Sets the value of the leverage property.- Parameters:
value
- allowed object isFloat
-
getLift
Gets the value of the lift property.- Returns:
- possible object is
Float
-
setLift
Sets the value of the lift property.- Parameters:
value
- allowed object isFloat
-
getSupport
Gets the value of the support property.- Returns:
- possible object is
BigDecimal
-
setSupport
Sets the value of the support property.- Parameters:
value
- allowed object isBigDecimal
-