FPGrowth<T> class
Implements the FP-Growth algorithm for mining frequent itemsets.
This class provides a high-level interface to run the FP-Growth algorithm. It handles transactions, calculates minimum support, and mines the patterns. It uses an internal integer mapping to optimize performance and memory.
- Available extensions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- minSupport → double
-
The minimum support threshold.
final
- parallelism → int
-
The number of isolates to use for parallel processing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
mine(
Stream< List< streamProvider()) → Future<T> >(Map< List< , int)>T> , int> - Mines the frequent itemsets from the given transaction stream.
-
mineFromCsv(
String filePath) → Future< (Map< List< , int)>String> , int> -
Available on FPGrowth<
Mines frequent itemsets directly from a CSV file using the current instance configuration (String> , provided by the FPGrowthIO extensionminSupport,parallelism, etc.). -
mineFromList(
List< List< transactions) → Future<T> >(Map< List< , int)>T> , int> - A convenience method to mine frequent itemsets from an in-memory list.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited