public class AssociationRule extends Entity implements HasExtensions, HasId
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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="antecedent" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="consequent" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="support" use="required" type="{http://www.dmg.org/PMML-4_2}PROB-NUMBER" />
<attribute name="confidence" use="required" type="{http://www.dmg.org/PMML-4_2}PROB-NUMBER" />
<attribute name="lift" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="leverage" type="{http://www.dmg.org/PMML-4_2}NUMBER" />
<attribute name="affinity" type="{http://www.dmg.org/PMML-4_2}PROB-NUMBER" />
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
AssociationRule() |
AssociationRule(String antecedent,
String consequent,
Double support,
Double confidence) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
AssociationRule |
addExtensions(Extension... extensions) |
Double |
getAffinity()
Gets the value of the affinity property.
|
String |
getAntecedent()
Gets the value of the antecedent property.
|
Double |
getConfidence()
Gets the value of the confidence property.
|
String |
getConsequent()
Gets the value of the consequent property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
String |
getId()
Gets the value of the id property.
|
Double |
getLeverage()
Gets the value of the leverage property.
|
Double |
getLift()
Gets the value of the lift property.
|
Double |
getSupport()
Gets the value of the support property.
|
boolean |
hasExtensions() |
AssociationRule |
setAffinity(Double affinity)
Sets the value of the affinity property.
|
AssociationRule |
setAntecedent(String antecedent)
Sets the value of the antecedent property.
|
AssociationRule |
setConfidence(Double confidence)
Sets the value of the confidence property.
|
AssociationRule |
setConsequent(String consequent)
Sets the value of the consequent property.
|
AssociationRule |
setId(String id)
Sets the value of the id property.
|
AssociationRule |
setLeverage(Double leverage)
Sets the value of the leverage property.
|
AssociationRule |
setLift(Double lift)
Sets the value of the lift property.
|
AssociationRule |
setSupport(Double support)
Sets the value of the support property.
|
getLocator, setLocatorpublic String getAntecedent()
Stringpublic AssociationRule setAntecedent(String antecedent)
antecedent - allowed object is
Stringpublic String getConsequent()
Stringpublic AssociationRule setConsequent(String consequent)
consequent - allowed object is
Stringpublic Double getSupport()
Stringpublic AssociationRule setSupport(Double support)
support - allowed object is
Stringpublic Double getConfidence()
Stringpublic AssociationRule setConfidence(Double confidence)
confidence - allowed object is
Stringpublic Double getLift()
Doublepublic AssociationRule setLift(Double lift)
lift - allowed object is
Doublepublic Double getLeverage()
Doublepublic AssociationRule setLeverage(Double leverage)
leverage - allowed object is
Doublepublic Double getAffinity()
Stringpublic AssociationRule setAffinity(Double affinity)
affinity - allowed object is
Stringpublic String getId()
public AssociationRule setId(String id)
public 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 boolean hasExtensions()
hasExtensions in interface HasExtensionspublic AssociationRule addExtensions(Extension... extensions)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.