Changeset 9720:a01e00b751d1 in orange


Ignore:
Timestamp:
02/06/12 11:41:33 (2 years ago)
Author:
markotoplak
Branch:
default
Message:

Orange.distance work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/Orange.distance.rst

    r9719 r9720  
    6565        (continuous features only) 
    6666 
    67     .. attribute:: domainVersion 
     67    .. attribute:: domain_version 
    6868 
    69         Stores a domain version for which the normalizers were computed. 
    70         The domain version is increased each time a domain description is 
    71         changed (i.e. features are added or removed); this is used for a quick 
    72         check that the user is not attempting to measure distances between 
     69        The domain version increases each time a domain description is 
     70        changed (i.e. features are added or removed); this checks  
     71        that the user is not attempting to measure distances between 
    7372        instances that do not correspond to normalizers. 
    74         Since domains are practicably immutable (especially from Python), 
    75         you don't need to care about this anyway. 
    7673 
    77     .. method:: attributeDistances(instance1, instance2) 
     74    .. method:: attribute_distances(instance1, instance2) 
    7875 
    79         Returns a list of floats representing distances between pairs of 
     76        Return a list of floats representing distances between pairs of 
    8077        feature values of the two instances. 
    81  
    8278 
    8379.. class:: HammingConstructor 
     
    8884    is not really appropriate for instances that contain continuous features. 
    8985 
    90  
    9186.. class:: MaximalConstructor 
    9287.. class:: Maximal 
     
    9489    The maximal between two instances is defined as the maximal distance 
    9590    between two feature values. If dist is the result of 
    96     ExamplesDistance_Normalized.attributeDistances, 
     91    DistanceNormalized.attribute_distances, 
    9792    then Maximal returns max(dist). 
    98  
    9993 
    10094.. class:: ManhattanConstructor 
Note: See TracChangeset for help on using the changeset viewer.