mineFromList method
A convenience method to mine frequent itemsets from an in-memory list.
This is simpler to use than the standard mine method if your dataset is already loaded into a list.
Implementation
Future<(Map<List<T>, int>, int)> mineFromList(List<List<T>> transactions) {
return mine(() => Stream.fromIterable(transactions));
}