Ignore:
Timestamp:
03/23/12 20:20:57 (2 years ago)
Author:
mstajdohar
Branch:
default
Message:

Changed obsolete names.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/testing-test.py

    r9946 r10633  
    1313def printResults(res): 
    1414    CAs = Orange.evaluation.scoring.CA(res, report_se=1) 
    15     for name, ca in zip(res.classifierNames, CAs): 
     15    for name, ca in zip(res.classifier_names, CAs): 
    1616        print "%s: %5.3f+-%5.3f" % (name, ca[0], 1.96 * ca[1]), 
    1717    print 
     
    4141print "\nproportionsTest + storing classifiers" 
    4242res = Orange.evaluation.testing.proportion_test(learners, voting, 0.7, 100, 
    43     storeClassifiers=1) 
     43    store_classifiers=1) 
    4444print "#iter %i, #classifiers %i" % \ 
    4545    (len(res.classifiers), len(res.classifiers[0])) 
Note: See TracChangeset for help on using the changeset viewer.