hatvis.patterns.inclusion_lattice#
- hatvis.patterns.inclusion_lattice(sets, labels=None, weights=None)[source]#
Hasse diagram of the inclusion order of a family of sets.
setsis a hypergraph (its hyperedges) or a sequence of sets (e.g. theitemsetcolumn of a frequent-itemset table). Arcs point from a set to its covers (minimal proper supersets). Node attributes:members,size,weightandlevel(= size).