Usage of sequential patterns
Usually, the market basket analysis runs on a large fact table or on a part of it.
Such a table contains at least the following columns:
- A sequence ID, such as a user ID or credit card number
- A transaction ID column or time ID column
- An item ID column
The sequential patterns analysis can find frequent sequential patterns in this table, that is, sequences of purchase patterns. Based on the findings, the sequential patterns analysis can imply sequential rules.
- (A)(B)(C)
- Indicates that many customers purchase item A in one transaction, item B in a subsequent transaction, and item C in a later transaction.
- (A B)(C)
- Indicates that many customers purchase items A and B in the same transaction, and item C in a later transaction.