MDL summaries#
MDL summarisation: a small set of patterns that compresses the database.
The pattern explosion makes long lists of frequent sequences unreadable. The Minimum Description Length principle selects instead the patterns that, together, describe the data most succinctly (Krimp: Vreeken, van Leeuwen & Siebes, 2011; SQS for sequences: Tatti & Vreeken, 2012). This module implements a transparent variant: patterns cover contiguous runs of elements, every sequence is covered greedily from left to right with the code table (longer patterns first), codes are optimal Shannon codes of the usages, and candidates are accepted one by one when they shorten the total description \(L(\mathcal{CT}) + L(\mathcal{D}\mid\mathcal{CT})\).
A few patterns that compress the database.
Classes#
|
Result of |
Functions#
|
Greedy MDL selection of contiguous patterns. |