FPGrowthIO extension

Extension to add File I/O capabilities to FPGrowth.

This allows keeping the core library web-compatible. To use these methods, you must import this file separately:

import 'package:fp_growth/fp_growth_io.dart';
on

Methods

mineFromCsv(String filePath) Future<(Map<List<String>, int>, int)>

Available on FPGrowth<String>, provided by the FPGrowthIO extension

Mines frequent itemsets directly from a CSV file using the current instance configuration (minSupport, parallelism, etc.).