Ticket #1093: foo.py

File foo.py, 283 bytes (added by jurezb, 3 years ago)
Line 
1import Orange
2
3table = Orange.data.Table("monks-1")
4a, b, e = table.domain["a"], table.domain["b"], table.domain["e"]
5
6table_s = table.select([a, b, e, table.domain.class_var])
7abe = Orange.classification.lookup.LookupLearner(table_s)
8
9for i in abe.sorted_examples[:10]:
10    print i