• [~] --- id: APRIORI ALGORITHM aliases: [] tags: [] index: 5

APRIORI ALGORITHM

The apriori algorithm is a strategy to prune the three of candidates of the frequent item-set generation fase it’s based on the apriori priciple

APRIORI PRINCIPLE

If an itemset is frequent, then all of its subsets must also be frequent and viceversa. We can see this principle as follows:

this implies that there is no need to compute of an itemset that contains an itemset with a

THE ALGORITHM

The algorithm prunes sub-trees which have a root node with a

flowchart TD
	A[create the next levelel of the tree by self-joining the precedent level];
	B[compute the sup for each node ];
	C[remove from the level all nodes with sup < threshold];
	A-->B
	B-->C
	C-->|repeat until the current level is empty|A

The value it’s an important tuning parameter for complexity and the tradeoff element between number of valid time-sets founded and quality of the item-sets founded

PREVIOUS NEXT