public class AssociationRule extends java.lang.Object implements java.lang.Comparable<AssociationRule>
Modifier and Type | Field and Description |
---|---|
private Itemset |
antecedent
Consequent itemset
|
private Itemset |
consequent
Consequent itemset
|
private double |
measure
Measure of the Rule.
|
private Itemset |
union
Union of consequent and consequent
|
Constructor and Description |
---|
AssociationRule(Itemset union,
Itemset consequent,
Itemset antecedent,
double measure)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuilder |
appendTo(java.lang.StringBuilder buf,
VectorFieldTypeInformation<BitVector> meta)
Append to a string buffer.
|
int |
compareTo(AssociationRule o) |
Itemset |
getAntecedent()
Get the antecedent of the rule.
|
Itemset |
getConsequent()
Get the consequent of the rule.
|
double |
getMeasure()
Get the rule measure.
|
Itemset |
getUnion()
Get the union of consequent and consequent of the rule.
|
java.lang.String |
toString() |
private Itemset consequent
private Itemset antecedent
private Itemset union
private double measure
public Itemset getConsequent()
public Itemset getUnion()
public double getMeasure()
public Itemset getAntecedent()
public int compareTo(AssociationRule o)
compareTo
in interface java.lang.Comparable<AssociationRule>
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.StringBuilder appendTo(java.lang.StringBuilder buf, VectorFieldTypeInformation<BitVector> meta)
buf
- Buffermeta
- Relation metadata (for labels)Copyright © 2019 ELKI Development Team. License information.