Changeset 10672:d0a4a9251413 in orange


Ignore:
Timestamp:
03/27/12 20:56:41 (2 years ago)
Author:
mstajdohar
Branch:
default
rebase_source:
9411132547ea1d8c351a20c0184b7e0c3df8677c
Message:

Fixed obsolete attribute.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/treelearner.py

    r9823 r10672  
    3636 
    3737learner.stop = Orange.classification.tree.StopCriteria_common() 
    38 print learner.stop.max_majority, learner.stop.min_examples 
     38print learner.stop.max_majority, learner.stop.min_instances 
    3939 
    4040print "\n\nTree with minExamples = 5.0" 
    41 learner.stop.min_examples = 5.0 
     41learner.stop.min_instances = 5.0 
    4242tree = learner(lenses) 
    4343print tree 
Note: See TracChangeset for help on using the changeset viewer.