Step 5

For each result in Step 4, the confidence level for the association rules for the triples of product categories is calculated using the count figures from Steps 1, 2 and 4. The results are shown in Table F.5.

Table TABLE F.5 A-priori algorithm: Step 5 results
Product Category Triples Association Rules Confidence
Branded breakfast cereals, eggs and branded bread If branded breakfast cereals are bought then eggs and branded bread are also bought 80/192 = 42%
If eggs are bought then branded breakfast cereals and branded bread are also bought 80/178 = 45%
If branded bread is bought then eggs and branded breakfast cereals are also bought 80/286 = 28%
If branded breakfast cereals and eggs are bought then branded bread is also bought ...

Get Principles of Data Management now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.