SLIDE 2 2
7
Dataset
– Items that can be found in transactions – Eg. Apples, bread, chips
8
Dataset
– Items that can be found in transactions – Eg. Apples, bread, chips
– Sets of items (unordered) – Eg.
Tx1 = { Apples, Chips }
– Eg.
Tx2 = { Bread }
9
Dataset
– Items that can be found in transactions – Eg. Apples, bread, chips
– Sets of items (unordered) – Eg.
Tx1 = { Apples, Chips }
– Eg.
Tx2 = { Bread }
– Collection of transactions (unordered, possibly repetitive) – Eg. Walmart transaction logs
10
Example Dataset
Student enrollment database
11
Example Dataset
Student enrollment database
– Alphabet = courses
{ CPSC124, CPSC126, PHIL120, ANTH100, ENGL112 }
12
Example Dataset
Student enrollment database
– Alphabet = courses
{ CPSC124, CPSC126, PHIL120, ANTH100, ENGL112 }
– Transaction = courses student is enrolled in
#29389002 -> { CPSC 124, PHIL120, ENGL112 }