spmviz.datasets.make_planted_patterns#

spmviz.datasets.make_planted_patterns(n_sequences=500, patterns=None, prob=0.3, n_items=20, length=12, random_state=0)[source]#

Random sequences with planted patterns (ground truth in the attributes).

Every sequence has length random items; each pattern of patterns (default: three patterns of length 3–5) is embedded at random increasing positions with probability prob (scalar or one per pattern).