$$My \ \ dataset:$$ $$1: A,B,C,E$$ $$2:A,C,D,E$$ $$3:\ \ \ \ \ B,C,E$$ $$4:A,C,D,E$$ $$5:\ \ \ \ C, D, E$$ $$6: \ \ \ \ A, D,E$$
I want to find out the maximal frequent item sets and the closed frequent item sets.
- Frequent item set $X ∈ F$ is maximal if it does not have any frequent supersets.
- Frequent item set X ∈ F is closed if it has no superset with the same frequency
So I counted the occurrence of each item set.
{A} = 4 ; {B} = 2 ; {C} = 5 ; {D} = 4 ; {E} = 6
{A,B} = 1; {A,C} = 3; {A,D} = 3; {A,E} = 4; {B,C} = 2;
{B,D} = 0; {B,E} = 2; {C,D} = 3; {C,E} = 5; {D,E} = 3
{A,B,C} = 1; {A,B,D} = 0; {A,B,E} = 1; {A,C,D} = 2; {A,C,E} = 3;
{A,D,E} = 3; {B,C,D} = 0; {B,C,E} = 2; {C,D,E} = 3
{A,B,C,D} = 0; {A,B,C,E} = 1; {B,C,D,E} = 0
Min_Support set to $50%$ // Very important. Thanks steffen for reminding of that.
Does maximal = $\{{A,B,C,E\}}$ ?
Does closed = $\{{A,B,C,D\}} \ and \ \{{B,C,D,E\}}$?