Orange

orngAssoc: Orange Association Rules Module


Module orngAssoc provides a few utility functions for association rules. First, there is some compatibility stuff related with the previous version of the module. We won't document this. The two useful functions are one for printing the rules and another for sorting them.

printRules(rules, ms = [])
Prints out the rules. If ms is left empty, only the rules are printed. If ms contains rules' attributes, e.g. ["support", "confidence"], these are printed out as well. See the available attributes in the Reference Guide's page on association rules, and a few examples in Orange for Beginners.
sort(rules, ms = ["support"])
Sorts the rules according to the given criteria. The default key is "support"; you can list multiple keys, as shown in examples in Orange for Beginners.