Changeset 11090:418ccce5b803 in orange


Ignore:
Timestamp:
02/01/13 11:54:25 (15 months ago)
Author:
blaz <blaz.zupan@…>
Branch:
default
Message:

Tutorial-regression documentation replaced reference to a file.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/orngCanvas.pyw

    • Property exe set to *
  • docs/tutorial/rst/code/regression-cv.py

    r11052 r11090  
    1313 
    1414res = Orange.evaluation.testing.cross_validation(learners, data, folds=5) 
    15 mse = Orange.evaluation.scoring.RMSE(res) 
     15rmse = Orange.evaluation.scoring.RMSE(res) 
    1616 
    1717print "Learner  RMSE" 
    1818for i in range(len(learners)): 
    19   print "%-7s %5.2f" % (learners[i].name, mse[i]) 
     19    print "{0:8}".format(learners[i].name), 
     20    print "%.2f" % rmse[i] 
  • docs/tutorial/rst/regression.rst

    r11058 r11090  
    5454Just like for classification, the same evaluation module (``Orange.evaluation``) is available for regression. Its testing submodule includes procedures such as cross-validation, leave-one-out testing and similar, and functions in scoring submodule can assess the accuracy from the testing: 
    5555 
    56 .. literalinclude:: code/regression-other.py 
     56.. literalinclude:: code/regression-cv.py 
    5757   :lines: 3- 
    5858 
Note: See TracChangeset for help on using the changeset viewer.