public class AssociationRule
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int[] |
antecedent
Antecedent itemset.
|
double |
confidence
The confidence value.
|
int[] |
consequent
Consequent itemset.
|
double |
support
The support value.
|
Constructor and Description |
---|
AssociationRule(int[] antecedent,
int[] consequent,
double support,
double confidence)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
public final int[] antecedent
public final int[] consequent
public final double support
public final double confidence
public AssociationRule(int[] antecedent, int[] consequent, double support, double confidence)
antecedent
- the antecedent itemset (LHS) of the association rule.consequent
- the consequent itemset (RHS) of the association rule.support
- the associated support value.confidence
- the associated confidence value.