spmviz.datasets.make_quest#
- spmviz.datasets.make_quest(n_sequences=1000, n_items=200, avg_elements=8.0, avg_itemset=2.0, n_patterns=40, avg_pattern=4.0, corruption=0.25, random_state=0)[source]#
IBM Quest-style synthetic sequences of itemsets (Agrawal & Srikant, 1995).
A pool of potentially frequent sequences is drawn with exponential weights; every customer sequence is filled with corrupted copies of pool sequences (items dropped with probability
corruption) and random items, until its Poisson length (number of elements) is reached.