asaini / Apriori

Python Implementation of Apriori Algorithm for finding Frequent sets and Association Rules
MIT License
771 stars 435 forks source link

Redundant frozenset() in the `getItemSetTransactionList()` method? #15

Open Dawny33 opened 8 years ago

Dawny33 commented 8 years ago

In the line here: https://github.com/asaini/Apriori/blob/master/apriori.py#L52

There is no need to frozenset() the records, as the records in the data_iterator are already frozensets.