Changeset 13:f98f0417ceb6 in orange-reliability for _reliability/__init__.py


Ignore:
Timestamp:
07/11/12 20:58:41 (22 months ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Documentation of reference method for classification.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _reliability/__init__.py

    r12 r13  
    383383 
    384384class ReferenceExpectedError: 
    385  
     385    """ 
     386 
     387    :rtype: :class:`Orange.evaluation.reliability.ReferenceExpectedErrorClassifier` 
     388 
     389    Reference reliability estimation method for classification as used in Evaluating Reliability of Single 
     390    Classifications of Neural Networks, Darko Pevec, 2011. 
     391 
     392    :math:`O_{ref} = 2 (\hat y - \hat y ^2) = 2 \hat y (1-\hat y)` 
     393 
     394    where :math:`\hat y` is the estimated probability of the predicted class. 
     395 
     396    Note that for this method, in contrast with all others, a greater estimate means lower reliability (greater 
     397    expected error). 
     398 
     399    """ 
    386400    def __init__(self, name="reference"): 
    387401        self.name = name 
Note: See TracChangeset for help on using the changeset viewer.