Ignore:
Timestamp:
02/28/11 13:12:47 (3 years ago)
Author:
markotoplak
Branch:
default
Convert:
f7c8320a54b9bfb6a744524bbea26b913f1df33c
Message:

Tree documentation update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/doc/Orange/rst/code/tree3.py

    r7474 r7713  
    1616f = lambda examples, weightID, contingency: defStop(examples, weightID, contingency) or randint(1, 5) == 1 
    1717l = Orange.classification.tree.TreeLearner(data, stop=f) 
    18 Orange.classification.tree.printTxt(l) 
     18print l.dump() 
    1919 
    2020print "\nRANDOM STOPING:" 
    2121f = lambda x,y,z: randint(1, 5)==1 
    2222l = Orange.classification.tree.TreeLearner(data, stop=f) 
    23 Orange.classification.tree.printTxt(l) 
     23print l.dump() 
Note: See TracChangeset for help on using the changeset viewer.