Changeset 9894:d20bfd799820 in orange


Ignore:
Timestamp:
02/07/12 11:05:41 (2 years ago)
Author:
anze <anze.staric@…>
Branch:
default
rebase_source:
587ce80e2ec17620ee2ded93ad7ef99112258dfc
Message:

Underscored parameters.

Location:
docs/reference/rst/code
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/majority-classification.py

    r9823 r9894  
    1515 
    1616res = Orange.evaluation.testing.cross_validation(learners, monks) 
    17 CAs = Orange.evaluation.scoring.CA(res, reportSE=True) 
     17CAs = Orange.evaluation.scoring.CA(res, report_se=True) 
    1818 
    1919print "Tree:    %5.3f+-%5.3f" % CAs[0] 
  • docs/reference/rst/code/testing-test.py

    r9823 r9894  
    1212 
    1313def printResults(res): 
    14     CAs = Orange.evaluation.scoring.CA(res, reportSE=1) 
     14    CAs = Orange.evaluation.scoring.CA(res, report_se=1) 
    1515    for name, ca in zip(res.classifierNames, CAs): 
    1616        print "%s: %5.3f+-%5.3f" % (name, ca[0], 1.96 * ca[1]), 
Note: See TracChangeset for help on using the changeset viewer.