spmviz.datasets.make_customer_journeys#

spmviz.datasets.make_customer_journeys(n_sequences=1000, random_state=0)[source]#

Visitor journeys in an online shop, with funnels, loops and abandonment.

Pages: home, search, category, product, reviews, cart, checkout, payment, confirmation, exit. Mobile visitors browse more and convert less than desktop visitors; attributes hold device and converted. Timestamps are seconds from the start of the visit.

Examples using spmviz.datasets.make_customer_journeys#

Five algorithms, one answer

Five algorithms, one answer

Where does the process branch? The continuation-entropy tree

Where does the process branch? The continuation-entropy tree

Word trees around a pivot

Word trees around a pivot

Comparing two groups: contrast sunburst

Comparing two groups: contrast sunburst

Sankey diagram of web-shop journeys

Sankey diagram of web-shop journeys

Transition graphs, matrices and MatrixWave

Transition graphs, matrices and MatrixWave

Pattern-induced higher-order networks: when history matters

Pattern-induced higher-order networks: when history matters

Chronograms and sequence frequency plots

Chronograms and sequence frequency plots

Sequence logos

Sequence logos

Interactive figures

Interactive figures