spmviz.datasets.make_daily_routines#
- spmviz.datasets.make_daily_routines(n_sequences=300, random_state=0)[source]#
Morning-to-evening routines of three personas: early birds, commuters and remote workers.
A small, easy-to-read example: about a dozen everyday activities, a few typical orders and some noise. Timestamps are hours of the day; the persona is stored in
attributes["persona"].Examples
>>> db = make_daily_routines(50, random_state=1) >>> db.n_sequences, "wake up" in db.alphabet (50, True)
Examples using spmviz.datasets.make_daily_routines#
Pattern-induced higher-order networks: when history matters
Pattern-induced higher-order networks: when history matters