Changeset 7401:1f9c84c5d7ab in orange


Ignore:
Timestamp:
02/04/11 10:45:19 (3 years ago)
Author:
lanz <lan.zagar@…>
Branch:
default
Convert:
048dd8d6e13a0b076d645256657cc2d00ac360be
Message:

Documentation for majority and mean.

Location:
orange
Files:
4 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/__init__.py

    r7388 r7401  
    4444 
    4545import regression 
     46import regression.mean 
    4647 
    4748import associate 
  • orange/Orange/classification/majority.py

    r7301 r7401  
    44 
    55Accuracy of classifiers is often compared to the "default accuracy", 
    6 that is, the accuracy of a classifier which classifies all examples to 
    7 the majority class. To fit into the standard schema, even this 
     6that is, the accuracy of a classifier which classifies all instances 
     7to the majority class. To fit into the standard schema, even this 
    88algorithm is provided in form of the usual learner-classifier pair. 
    99Learning is done by :obj:`MajorityLearner` and the classifier it 
     
    2323        An estimator constructor that can be used for estimation of 
    2424        class probabilities. If left None, probability of each class is 
    25         estimated as the relative frequency of examples belonging to 
     25        estimated as the relative frequency of instances belonging to 
    2626        this class. 
    2727         
     
    6363Here's a simple example. 
    6464 
    65 `majority.py`_ (uses: `monks-1.tab`_): 
     65`majority-classification.py`_ (uses: `monks-1.tab`_): 
    6666 
    67 .. literalinclude:: code/majority.py 
     67.. literalinclude:: code/majority-classification.py 
    6868    :lines: 7- 
    6969 
    70 .. _majority.py: code/majority.py 
     70.. _majority-classification.py: code/majority-classification.py 
    7171.. _monks-1.tab: code/monks-1.tab 
    7272 
  • orange/doc/Orange/rst/index.rst

    r7396 r7401  
    1616   Orange.cluster 
    1717   Orange.data 
     18    
    1819   orange.classification.bayes 
    1920   Orange.classification.majority 
     
    2425   Orange.classification.rules 
    2526   orange.classification.knn 
     27    
     28   Orange.regression.mean 
    2629 
    2730   Orange.ensemble 
Note: See TracChangeset for help on using the changeset viewer.