spmviz.measures.pattern_counts#

spmviz.measures.pattern_counts(db, min_supports, algorithm='auto', **kw)[source]#

Number of all, closed and maximal patterns for a range of minimum supports.

Useful to choose the threshold before visualizing (the pattern explosion).

Examples using spmviz.measures.pattern_counts#

First steps: four sequences of the PrefixSpan paper

First steps: four sequences of the PrefixSpan paper