Changeset 8139:2709386d42a3 in orange


Ignore:
Timestamp:
08/02/11 16:57:11 (3 years ago)
Author:
markotoplak
Branch:
default
Convert:
3ff39a94c21989e66f7e0a09442f3e1ffe8376d4
Message:

Corrected some typos in Orange.data.domain.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/doc/Orange/rst/Orange.data.domain.rst

    r8021 r8139  
    2121 
    2222Domains resemble lists: the length of domain is the number of 
    23 variables, including the class attribute. Iterating through domain 
    24 goes through attributes and the class attribute, but not through meta 
     23variables, including the class variable. Iterating through domain 
     24goes through features and the class variable, but not through meta 
    2525attributes. Domains can be indexed by integer indices, variable names 
    2626or instances of :obj:`Orange.data.variables.Variable`. Domain has a 
    27 method :obj:`Domain.index` that returns the index of an attribute 
     27method :obj:`Domain.index` that returns the index of a variable 
    2828specified by a descriptor, name. Slices can be retrieved, but not 
    2929set. :: 
     
    186186Domain ``d2`` in this example has variables ``a``, ``b``, ``e`` and the 
    187187class, while the other three variables are added as meta 
    188 attributes, together with additional attribute X. Results is as 
     188attributes, together with additional attribute X. Results are as 
    189189follows. :: 
    190190 
     
    194194     ['1', '2', '4', '0'], {"c":'1', "d":'1', "f":'2', "X":'?'} 
    195195 
    196 fter conversion, the three attributes are moved to meta attributes 
     196After conversion, the three attributes are moved to meta attributes 
    197197and the new attribute appears as unknown. 
    198198 
Note: See TracChangeset for help on using the changeset viewer.