Ignore:
Timestamp:
02/27/13 15:02:50 (14 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Cleanup of 'Widget catalog' documentation.

Fixed rst text formating, replaced dead hardcoded reference links (now using
:ref:), etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/widgets/rst/classify/majority.rst

    r11050 r11359  
    66.. image:: ../icons/majority.png 
    77 
    8 A Learner that returns the majority class, disregarding the example's attributes 
     8A Learner that returns the majority class, disregarding the example's 
     9attributes. 
    910 
    1011Signals 
     
    2728 
    2829 
    29 Signal :code:`Classifier` sends data only if the learning data (signal :code:`Examples`) is present. 
     30Signal :code:`Classifier` sends data only if the learning data (signal 
     31:code:`Examples`) is present. 
    3032 
    3133Description 
    3234----------- 
    3335 
    34 This widget provides a graphical interface to a learner which produces a classifier that always predicts the majority class. When asked for probabilities, it will return the relative frequencies of the classes in the training set. When there are two or more majority classes, the classifier chooses the predicted class randomly, but always returns the same class for a particular example. 
     36This widget provides a graphical interface to a learner which produces a 
     37classifier that always predicts the majority class. When asked for 
     38probabilities, it will return the relative frequencies of the classes 
     39in the training set. When there are two or more majority classes, the 
     40classifier chooses the predicted class randomly, but always returns the 
     41same class for a particular example. 
    3542 
    36 The widget is typically used to compare other learning algorithms with the default classification accuracy. 
     43The widget is typically used to compare other learning algorithms with 
     44the default classification accuracy. 
    3745 
    38 As all other widgets for classification, this one provides a learner and classifier, the former can be fed into widgets for testing learners, while the classifier itself is, well, not very useful. 
     46As all other widgets for classification, this one provides a learner and 
     47classifier, the former can be fed into widgets for testing learners, while 
     48the classifier itself is, well, not very useful. 
    3949 
    4050 
     
    4252   :alt: Majority 
    4353 
    44 The only option is the name under which it will appear in, say, :code:`Test Learners`. The default name is "Majority". When you change it, you need to click :obj:`Apply`. 
     54The only option is the name under which it will appear in, say, 
     55:ref:`Test Learners`. The default name is "Majority". When you change it, 
     56you need to click :obj:`Apply`. 
    4557 
    4658Examples 
    4759-------- 
    4860 
    49 In a typical use of this widget, it would be connected to `Test Learners <../Evaluate/TestLearners.htm>`_ to compare the scores of other learning algorithms (such as kNN, in this schema) with the default scores. 
     61In a typical use of this widget, it would be connected to 
     62:ref:`Test Learners` to compare the scores of other learning algorithms 
     63(such as kNN, in this schema) with the default scores. 
    5064 
    5165.. image:: images/Majority-Knn-SchemaLearner.png 
Note: See TracChangeset for help on using the changeset viewer.