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/orngTree1.py

    r9800 r9823  
    11import Orange 
    22 
    3 data = Orange.data.Table("iris") 
    4 tree = Orange.classification.tree.TreeLearner(data, max_depth=3) 
     3iris = Orange.data.Table("iris") 
     4tree = Orange.classification.tree.TreeLearner(iris, max_depth=3) 
    55 
    66formats = ["", "%V (%M out of %N)", "%V (%^MbA%, %^MbP%)", 
     
    1717 
    1818 
    19 data = Orange.data.Table("housing") 
    20 tree = Orange.classification.tree.TreeLearner(data, max_depth=3) 
     19housing = Orange.data.Table("housing") 
     20tree = Orange.classification.tree.TreeLearner(housing, max_depth=3) 
    2121formats = ["", "%V"] 
    2222for format in formats: 
Note: See TracChangeset for help on using the changeset viewer.