spmviz.backends.spmf_command#

spmviz.backends.spmf_command(jar, algorithm, infile, outfile, min_support_rel, max_length=None, min_length=1, max_gap=None, args=None)[source]#

The SPMF command line for an algorithm.

Parameter orders are those of the SPMF documentation: CM-SPAM (and SPAM-like): minsup minlen maxlen required_items maxgap show_sids; PrefixSpan: minsup minlen maxlen show_sids. Other algorithms need explicit args (everything after the minimum support).