Ignore:
Timestamp:
02/07/12 16:12:17 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
1d1ce52bf1c40adcceacdbc987601870f76893c1
Message:

data.variable -> feature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/Orange.data.instance.rst

    r9788 r9927  
    5353attributes. Meta attributes are hence not addressed by positions, 
    5454but by their id's, which are represented by negative indices. Id's are 
    55 generated by function :obj:`Orange.data.variable.new_meta_id()`. Id's can 
     55generated by function :obj:`Orange.feature.new_meta_id()`. Id's can 
    5656be reused for multiple domains. 
    5757 
     
    275275        Return a dictionary containing meta values of the data 
    276276        instance. The argument ``key_type`` can be ``int`` (default), 
    277         ``str`` or :obj:`Orange.data.variable.Variable` and 
     277        ``str`` or :obj:`Orange.feature.Descriptor` and 
    278278        determines whether 
    279279        the dictionary keys are meta ids, variables names or 
     
    288288            print example.getmetas(orange.Variable) 
    289289 
    290         :param key_type: the key type; either ``int``, ``str`` or :obj:`~Orange.data.variable.Variable` 
     290        :param key_type: the key type; either ``int``, ``str`` or :obj:`~Orange.feature.Descriptor` 
    291291        :type key_type: ``type`` 
    292292 
     
    299299        :param optional: tells whether to return optional or non-optional attributes 
    300300        :type optional: ``bool`` 
    301         :param key_type: the key type; either ``int``, ``str`` or :obj:`~Orange.data.variable.Variable` 
     301        :param key_type: the key type; either ``int``, ``str`` or :obj:`~Orange.feature.Descriptor` 
    302302        :type key_type: `type`` 
    303303 
     
    308308 
    309309        :param meta_attr: meta attribute 
    310         :type meta_attr: :obj:`id`, ``str`` or :obj:`~Orange.data.variable.Variable` 
     310        :type meta_attr: :obj:`id`, ``str`` or :obj:`~Orange.feature.Descriptor` 
    311311 
    312312    .. method:: remove_meta(meta_attr) 
     
    315315 
    316316        :param meta_attr: meta attribute 
    317         :type meta_attr: :obj:`id`, ``str`` or :obj:`~Orange.data.variable.Variable` 
     317        :type meta_attr: :obj:`id`, ``str`` or :obj:`~Orange.feature.Descriptor` 
    318318 
    319319    .. method:: get_weight(meta_attr) 
     
    323323 
    324324        :param meta_attr: meta attribute 
    325         :type meta_attr: :obj:`id`, ``str`` or :obj:`~Orange.data.variable.Variable` 
     325        :type meta_attr: :obj:`id`, ``str`` or :obj:`~Orange.feature.Descriptor` 
    326326 
    327327    .. method:: set_weight(meta_attr, weight=1) 
     
    330330 
    331331        :param meta_attr: meta attribute 
    332         :type meta_attr: :obj:`id`, ``str`` or :obj:`~Orange.data.variable.Variable` 
     332        :type meta_attr: :obj:`id`, ``str`` or :obj:`~Orange.feature.Descriptor` 
    333333        :param weight: weight of instance 
    334334        :type weight: ``float`` 
Note: See TracChangeset for help on using the changeset viewer.