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/svm-easy.py

    r9372 r9823  
    22from Orange.classification import svm 
    33 
    4 table = data.Table("vehicle.tab") 
     4vehicle = data.Table("vehicle.tab") 
    55 
    66svm_easy = svm.SVMLearnerEasy(name="svm easy", folds=3) 
     
    1010from Orange.evaluation import testing, scoring 
    1111 
    12 results = testing.cross_validation(learners, table, folds=5) 
     12results = testing.cross_validation(learners, vehicle, folds=5) 
    1313print "Name     CA        AUC" 
    1414for learner,CA,AUC in zip(learners, scoring.CA(results), scoring.AUC(results)): 
Note: See TracChangeset for help on using the changeset viewer.