Ignore:
Timestamp:
02/27/12 23:21:32 (2 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Children:
10389:8d7ba785b51c, 10394:962c24741ced
Message:

Moved documentation about regression.mean to rst and simplified it; minor fixes in classification.majority

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/Orange.regression.mean.rst

    r9372 r10388  
    33################ 
    44 
    5 .. automodule:: Orange.regression.mean 
     5.. py:currentmodule:: Orange.regression.mean 
     6 
     7.. index:: regression; mean 
     8 
     9Accuracy of a regressor is often compared with the accuracy achieved 
     10by always predicting the averag value. The "learning algorithm" 
     11computes the average and represents it with a regressor of type 
     12:obj:`Orange.classification.ConstantClassifier`. 
     13 
     14.. rubric:: Examples 
     15 
     16The following example compares the mean squared error of always 
     17predicting the average with the error of a tree learner. 
     18 
     19:download:`mean-regression.py <code/mean-regression.py>`: 
     20 
     21.. literalinclude:: code/mean-regression.py 
     22    :lines: 7- 
Note: See TracChangeset for help on using the changeset viewer.