source: orange/Orange/doc/reference/assoc-agrawal.py @ 9671:a7b056375472

Revision 9671:a7b056375472, 273 bytes checked in by anze <anze.staric@…>, 2 years ago (diff)

Moved orange to Orange (part 2)

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.