spmviz.viz.plot_hon#

spmviz.viz.plot_hon(obj, ax=None, max_order=3, min_support=5, threshold=None, top_nodes=40, min_probability=0.05, title=None, seed=0)[source]#

Pattern-induced higher-order network (memory nodes around their first-order event).

obj is a database (the network is built with spmviz.networks.higher_order_network()) or a prebuilt network. First- order nodes lie on a circle; a memory node c|a.b sits outside its event c with a ring whose thickness grows with its order, so the frequent sequences that change the next step stand out.

Examples using spmviz.viz.plot_hon#

Pattern-induced higher-order networks: when history matters

Pattern-induced higher-order networks: when history matters