In [2]: orange.version Out[2]: '2.0b (10:34:33, Mar 17 2010)' uname -a: Linux shigella 2.6.28-18-generic #60-Ubuntu SMP Fri Mar 12 04:40:52 UTC 2010 i686 GNU/Linux eliasz@shigella:~/workspace/pytolenie$ ./otest.py 1 zoo.tab Tree saved to zoo.tab.tree classVar: eliasz@shigella:~/workspace/pytolenie$ ./otest.py a Tree loaded from zoo.tab.tree classVar: milk = 1: mammal (41.0) milk = 0: | feathers = 1: bird (20.0) | feathers = 0: | | fins = 1: fish (13.0) | | fins = 0: | | | backbone = 0: | | | | airborne = 1: insect (6.0) | | | | airborne = 0: | | | | | predator = 1: invertebrate (8.0) | | | | | predator = 0: | | | | | | legs = 0: invertebrate (2.0) | | | | | | legs = 2: insect (0.0) | | | | | | legs = 4: insect (0.0) | | | | | | legs = 5: insect (0.0) | | | | | | legs = 6: insect (2.0) | | | | | | legs = 8: insect (0.0) | | | backbone = 1: | | | | tail = 0: amphibian (3.0) | | | | tail = 1: reptile (6.0) eliasz@shigella:~/workspace/pytolenie$ ./otest.py 21r zoo2.tab Tree saved to zoo2.tab.tree classVar: zoo.tab Tree saved to zoo.tab.tree classVar: eliasz@shigella:~/workspace/pytolenie$ ./otest.py a Tree loaded from zoo.tab.tree classVar: backbone = 1: | feathers = 1: bird (20.0) | feathers = 0: | | milk = 1: mammal (41.0) | | milk = 0: | | | fins = 1: fish (13.0) | | | fins = 0: | | | | tail = 0: amphibian (3.0) | | | | tail = 1: reptile (6.0) backbone = 0: | airborne = 1: insect (6.0) | airborne = 0: | | predator = 1: invertebrate (8.0) | | predator = 0: | | | legs = 0: invertebrate (2.0) | | | legs = 4: insect (0.0) | | | legs = 2: insect (0.0) | | | legs = 5: insect (0.0) | | | legs = 6: insect (2.0) | | | legs = 8: insect (0.0)