Show only Unique Association Rule Premise Subset
habibalex
New Altair Community Member
I have a data set and I only want to see unique pairs of premises and their conclusions based on the 'create association rules' output.
For example if I have a set {apple,orange, banana,grape,pear}
and the association rule output (premise => conclusion) is:
apple => banana
apple,orange, => banana
apple,orange,pear => grape
apple,orange,banana => pear
I would only want to see the {apple, orange, pear} AND {apple, orange, banana} sets since they are subsets of the larger set of {apple} and .{apple,orange} sets. How would I accomplish this?
Thanks!
For example if I have a set {apple,orange, banana,grape,pear}
and the association rule output (premise => conclusion) is:
apple => banana
apple,orange, => banana
apple,orange,pear => grape
apple,orange,banana => pear
I would only want to see the {apple, orange, pear} AND {apple, orange, banana} sets since they are subsets of the larger set of {apple} and .{apple,orange} sets. How would I accomplish this?
Thanks!
Tagged:
0