Changeset 10652:b794bb413dc2 in orange


Ignore:
Timestamp:
03/27/12 10:37:32 (2 years ago)
Author:
anze <anze.staric@…>
Branch:
default
Message:

Fix for c45 tree learner.

Location:
Orange
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Orange/classification/tree.py

    r10649 r10652  
    15931593 
    15941594    def __str__(self): 
    1595         return self.dump() 
     1595        return self.to_string() 
    15961596 
    15971597 
  • Orange/testing/regression/tests_20/reference_c45.py

    r9952 r10652  
    1919    print tree(i), i.getclass() 
    2020 
    21 print "\n\nC4.5 with minObjs=100" 
    22 tree = orange.C45Learner(data, minObjs=100) 
     21print "\n\nC4.5 with min_objs=100" 
     22tree = orange.C45Learner(data, min_objs=100) 
    2323for i in data[:5]: 
    2424    print tree(i), i.getclass() 
Note: See TracChangeset for help on using the changeset viewer.