Class PrefixSpan.FreqSequence<Item>

Object
org.apache.spark.mllib.fpm.PrefixSpan.FreqSequence<Item>
Type Parameters:
Item - item type
All Implemented Interfaces:
Serializable, scala.Serializable
Enclosing class:
PrefixSpan

public static class PrefixSpan.FreqSequence<Item> extends Object implements scala.Serializable
Represents a frequent sequence. param: sequence a sequence of itemsets stored as an Array of Arrays param: freq frequency
See Also:
  • Constructor Details

    • FreqSequence

      public FreqSequence(Object[] sequence, long freq)
  • Method Details

    • freq

      public long freq()
    • javaSequence

      public List<List<Item>> javaSequence()
      Returns sequence as a Java List of lists for Java users.
      Returns:
      (undocumented)
    • sequence

      public Object[] sequence()