eqdisco.analysis.building_block_network#
- eqdisco.analysis.building_block_network(models, min_support=0.1, min_lift=1.0, min_size=2, max_size=9, names=None)[source]#
Co-occurrence network of the frequent building blocks.
Nodes carry
supportandsize; an edge links two blocks that occur in the same models more often than independence would predict (lift abovemin_lift), with attributescountandlift. Nested blocks (one contains the other) are not linked.