Class FPGrowth.FreqItemset<Item>

Object
org.apache.spark.mllib.fpm.FPGrowth.FreqItemset<Item>
Type Parameters:
Item - item type

All Implemented Interfaces:
Serializable
Enclosing class:
FPGrowth

public static class FPGrowth.FreqItemset<Item> extends Object implements Serializable
Frequent itemset. param: items items in this itemset. Java users should call FreqItemset.javaItems instead. param: freq frequency
See Also:
  • Constructor Details

    • FreqItemset

      public FreqItemset(Object items, long freq)
  • Method Details

    • freq

      public long freq()
    • items

      public Object items()
    • javaItems

      public List<Item> javaItems()
      Returns items in a Java List.

      Returns:
      (undocumented)
    • toString

      public String toString()
      Overrides:
      toString in class Object