Changeset 8909:1291de49c15d in orange


Ignore:
Timestamp:
09/05/11 14:12:47 (3 years ago)
Author:
lanz <lan.zagar@…>
Branch:
default
Convert:
ff48fd09eff1a9690792792b01b27d51f99e0569
Message:

Some documentation improvements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/data/variable.py

    r8042 r8909  
    4040    .. attribute:: get_value_from 
    4141 
    42         A function (an instance of :obj:`Orange.core.Clasifier`) which computes 
     42        A function (an instance of :obj:`Orange.classification.Classifier`) which computes 
    4343        a value of the variable from values of one or more other variables. This 
    4444        is used, for instance, in discretization where the variables describing 
     
    6767        This is used, for instance, by the data loader for tab-delimited file 
    6868        format instead of assigning an arbitrary new value, or by 
    69         :obj:`Orange.core.newmetaid` if the variable is passed as an argument.  
     69        :obj:`Orange.data.new_meta_id` if the variable is passed as an argument.  
    7070         
    7171    .. attribute:: attributes 
     
    351351There are two functions for reusing the attributes instead of creating new ones. 
    352352 
    353 .. function:: Orange.data.variable.make(name, type, ordered_values, unordered_values[, createNewOn]) 
     353.. function:: Orange.data.variable.make(name, type, ordered_values, unordered_values[, create_new_on]) 
    354354 
    355355    Find and return an existing variable or create a new one if none of the existing 
    356356    variables matches the given name, type and values. 
    357357     
    358     The optional `create_on_new` specifies the status at which a new variable is 
     358    The optional `create_new_on` specifies the status at which a new variable is 
    359359    created. The status must be at most ``Incompatible`` since incompatible (or 
    360360    non-existing) variables cannot be reused. If it is set lower, for instance  
     
    364364     
    365365    The function returns a tuple containing a variable descriptor and the 
    366     status of the best matching variable. So, if ``create_on_new`` is set to 
     366    status of the best matching variable. So, if ``create_new_on`` is set to 
    367367    ``MissingValues``, and there exists a variable whose status is, say, 
    368368    ``UnrecognizedValues``, a variable would be created, while the second  
     
    389389    :return_type: a tuple (:class:`Orange.data.variable.Variable`, int) 
    390390     
    391 .. function:: Orange.data.variable.retrieve(name, type, ordered_values, onordered_values[, createNewOn]) 
     391.. function:: Orange.data.variable.retrieve(name, type, ordered_values, onordered_values[, create_new_on]) 
    392392 
    393393    Find and return an existing variable, or :obj:`None` if no match is found. 
Note: See TracChangeset for help on using the changeset viewer.