public class AssociationRule extends Entity implements HasExtensions
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="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_3}PROB-NUMBER" />
<attribute name="confidence" use="required" type="{http://www.dmg.org/PMML-4_3}PROB-NUMBER" />
<attribute name="lift" type="{http://www.dmg.org/PMML-4_3}NUMBER" />
<attribute name="leverage" type="{http://www.dmg.org/PMML-4_3}NUMBER" />
<attribute name="affinity" type="{http://www.dmg.org/PMML-4_3}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, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic 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()
public AssociationRule setSupport(double support)
public double getConfidence()
public AssociationRule setConfidence(double confidence)
public 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()
Doublepublic AssociationRule setAffinity(Double affinity)
affinity - allowed object is
Doublepublic 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 © 2016 University of Tartu. All rights reserved.