source: orange/docs/reference/rst/Orange.regression.mean.rst @ 10388:c6f2a5ae8087

Revision 10388:c6f2a5ae8087, 635 bytes checked in by janezd <janez.demsar@…>, 2 years ago (diff)

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

Line 
1################
2Mean (``mean``)
3################
4
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 TracBrowser for help on using the repository browser.