hatvis.io.read_spmf_rules# hatvis.io.read_spmf_rules(path_or_text, item_names=None)[source]# Read SPMF association rules (1 2 ==> 5 #SUP: 3 #CONF: 0.75) as a directed hypergraph. Support and confidence are stored in edge_data; the confidence is the weight.