Package org.apache.spark.mllib.fpm
Class AssociationRules.Rule<Item>
Object
org.apache.spark.mllib.fpm.AssociationRules.Rule<Item>
- Type Parameters:
Item
- item type
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AssociationRules
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.- See Also:
-
Method Details
-
antecedent
-
confidence
public double confidence()Returns the confidence of the rule.- Returns:
- (undocumented)
-
consequent
-
javaAntecedent
Returns antecedent in a Java List.- Returns:
- (undocumented)
-
javaConsequent
Returns consequent in a Java List.- Returns:
- (undocumented)
-
lift
Returns the lift of the rule.- Returns:
- (undocumented)
-
toString
-