spmviz.summary.MDLSummary#
- class spmviz.summary.MDLSummary(patterns, total_length, baseline_length, usage, covers, history)[source]#
Bases:
objectResult of
mdl_summary().- Attributes:
- patterns
PatternSet Selected patterns (length at least 2), in code-table order.
- total_length, baseline_length
float Description length (bits) with the selected patterns and with singletons only.
- usage
dict Number of times each code (pattern tuple or singleton) is used in the cover.
- covers
listoflistof(start,stop,code) Cover of every sequence;
codeis a pattern index (>= 0) or -1 for a singleton.- history
pandas.DataFrame Accepted candidates with the description length after each acceptance.
- patterns
- property compression#
Relative description length, total / baseline (smaller is better).