public static class AssociationRules.Rule<Item>
extends java.lang.Object
implements scala.Serializable
An association rule between sets of items.
param: antecedent hypotheses of the rule. Java users should call javaAntecedent()
instead.
param: consequent conclusion of the rule. Java users should call javaConsequent()
instead.
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
antecedent() |
double |
confidence()
Returns the confidence of the rule.
|
java.lang.Object |
consequent() |
java.util.List<Item> |
javaAntecedent()
Returns antecedent in a Java List.
|
java.util.List<Item> |
javaConsequent()
Returns consequent in a Java List.
|
public java.lang.Object antecedent()
public java.lang.Object consequent()
public double confidence()
public java.util.List<Item> javaAntecedent()
public java.util.List<Item> javaConsequent()