spmviz.viz.plot_nbvfs#
- spmviz.viz.plot_nbvfs(model, ax=None, labels='auto', label_style=None, start_items=None, context=True, min_confidence=None, color_by=None, size_by=None, node_size=(18, 260), edge_width=(0.3, 3.2), legend=True, rings=True, title=None, fontsize=7.5)[source]#
Draw a fitted
NBVFSmap.- Parameters:
- model
NBVFS A fitted model.
- labels“auto”,
int,listorNone "auto"labels everything up to 40 nodes, otherwise the 25 most supported; an int labels that many; a list labels the given patterns.- label_style{“added”, “full”},
optional Label text: the added event (default of the WN map) or the whole sequence.
- start_items
itemorlist,optional Highlight the sequences starting with these events (the filter of the paper); with
context=Truethe others stay as faint gray dots.- min_confidence
float,optional Hide edges with lower confidence.
- color_by{“length”, “start”, “confidence”, “support”},
optional Default: length for WN, starting event for the MDS maps.
- size_by{“support”, “cum_confidence”, “confidence”},
optional Default: cumulative confidence for WN, support for the MDS maps.
- node_size, edge_width(
min,max) - legend, ringsbool
Legend of the colors; guide circles of the WN circle layout.
- model
- Returns: