-
Notifications
You must be signed in to change notification settings - Fork 875
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let apriori always use low_memory processing
Thanks to previous optimizations, processing with low_memory=True is now almost as efficient as with low_memory=False, and allows to process much larger datasets. Removing processing with low_memory=False makes code simpler and allows to generate itemsets by a generator, which saves more memory. The downside is that we do not know in advance the number of itemsets to process, thus it is displayed afterwards. Note that commit 2f928cb introduced a bug, the number of processing combinations was multiplied by itemset's length, which explains why output is different now.
- Loading branch information
Showing
2 changed files
with
46 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters