Ignore:
Timestamp:
02/06/12 20:01:02 (2 years ago)
Author:
lanumek
Branch:
default
Children:
9835:e48466fc6eb2, 9841:05a160804431
rebase_source:
8cf30121654f25c9cb6d8ac9bdaf163e305d62da
Message:

Changed names of data sets (table replaced with data or name of the data set).

File:
1 edited

Legend:

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

    r9372 r9823  
    77import Orange 
    88 
    9 data = Orange.data.Table("lenses") 
     9lenses = Orange.data.Table("lenses") 
    1010learner = Orange.classification.tree.TreeLearner() 
    1111 
     
    4040print "\n\nTree with minExamples = 5.0" 
    4141learner.stop.min_examples = 5.0 
    42 tree = learner(data) 
     42tree = learner(lenses) 
    4343print tree 
    4444 
    4545print "\n\nTree with maxMajority = 0.5" 
    4646learner.stop.max_majority = 0.5 
    47 tree = learner(data) 
     47tree = learner(lenses) 
    4848print tree 
Note: See TracChangeset for help on using the changeset viewer.