Skip to content

Yutian-Wong/CS5228_Assignment1_b_AssociationRules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

CS5228_Assignment1_b_AssociationRules

Two methods of utils module will be used in this file: powerset() and binary_split()

powerset(): Given a set of items, powerset() returns all possible subset of items with a specified minimum and maximum length. For example, you can use this method to generate all itemsets for a transaction.

binary_split(): Given a set of items, binary_split() return all combinations of how the input set can be split into 2 non-empty subsets (where the union of both subsets for the input set). It's easy to see that you can use this to get from an itemset to all possible association rules.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages