Changeset 9667:4a1214fdd5aa in orange


Ignore:
Timestamp:
02/06/12 09:50:11 (2 years ago)
Author:
anze <anze.staric@…>
Branch:
default
Children:
9668:12e36e10c897, 9680:4689e76f99be, 9692:7ce66f39dada
rebase_source:
300a150a01a4389273b18936c543a5833f14cc5c
Message:

Updated links to GetValue, ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/classification/knn.py

    r9665 r9667  
    1515the data instance being classified: 
    1616 
    17  
    1817.. literalinclude:: code/knnExample0.py 
    1918 
     
    5150 
    5251 
    53 .. class:: kNNClassifier(domain, weight_id, k, find_nearest, rank_weight, \ 
    54 n_examples) 
    55  
    56     .. method:: __call__(instance) 
    57      
     52.. class:: kNNClassifier(domain, weight_id, k, find_nearest, rank_weight, n_examples) 
     53 
     54    .. method:: __call__(instance, return_type) 
     55 
    5856        :param instance: given instance to be classified 
    5957        :type instance: Orange.data.Instance 
     
    6159        :param return_type: return value and probabilities, only value or only 
    6260                            probabilities 
    63         :type return_type: :class:`Orange.classification.Classifier.GetBoth`, 
    64                            :class:`Orange.classification.Classifier.GetValue`, 
    65                            :class:`Orange.classification.Classifier.GetProbabilities` 
     61        :type return_type: :obj:`~Orange.classification.Classifier.GetBoth`, 
     62                           :obj:`~Orange.classification.Classifier.GetValue`, 
     63                           :obj:`~Orange.classification.Classifier.GetProbabilities` 
    6664         
    6765        :rtype: :class:`~Orange.data.Value`, 
Note: See TracChangeset for help on using the changeset viewer.