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/majority-classification.py

    r9372 r9823  
    77import Orange 
    88 
    9 table = Orange.data.Table("monks-1") 
     9monks = Orange.data.Table("monks-1") 
    1010 
    1111treeLearner = Orange.classification.tree.TreeLearner() 
     
    1414learners = [treeLearner, bayesLearner, majorityLearner] 
    1515 
    16 res = Orange.evaluation.testing.cross_validation(learners, table) 
     16res = Orange.evaluation.testing.cross_validation(learners, monks) 
    1717CAs = Orange.evaluation.scoring.CA(res, reportSE=True) 
    1818 
Note: See TracChangeset for help on using the changeset viewer.