source: orange/Orange/testing/regression/tests_20/reference_assoc-agrawal.py @ 9952:986e9cd806f4

Revision 9952:986e9cd806f4, 273 bytes checked in by Miha Stajdohar <miha.stajdohar@…>, 2 years ago (diff)

Tests moved and renamed from orange 20.

Line 
1import orange
2
3data = orange.ExampleTable("inquisition")
4rules = orange.AssociationRulesSparseInducer(data,
5            support = 0.5, storeExamples = True)
6
7print "%5s   %5s" % ("supp", "conf")
8for r in rules:
9    print "%5.3f   %5.3f   %s" % (r.support, r.confidence, r)
Note: See TracBrowser for help on using the repository browser.