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

public static class AssociationRules.Rule<Item> extends Object implements 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.
See Also:
  • Method Details

    • antecedent

      public Object antecedent()
    • confidence

      public double confidence()
      Returns the confidence of the rule.

      Returns:
      (undocumented)
    • consequent

      public Object consequent()
    • javaAntecedent

      public List<Item> javaAntecedent()
      Returns antecedent in a Java List.

      Returns:
      (undocumented)
    • javaConsequent

      public List<Item> javaConsequent()
      Returns consequent in a Java List.

      Returns:
      (undocumented)
    • lift

      public scala.Option<Object> lift()
      Returns the lift of the rule.
      Returns:
      (undocumented)
    • toString

      public String toString()
      Overrides:
      toString in class Object