Changeset 9863:5542b783961f in orange


Ignore:
Timestamp:
02/06/12 21:20:02 (2 years ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
rebase_source:
1e6508e565ba6571be6a0e99ed86bde9088cfc1b
Message:

Fix warnings and documentation indentation problems in discretization.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/Orange.feature.discretization.rst

    r9812 r9863  
    182182 
    183183        Decides whether the resulting attribute should have three or two values. 
    184         If ``True`` (default), the feature will be discretized to three intervals and the discretizer 
    185          is of type :class:`BiModalDiscretizer`. If ``False`` the result is the 
    186         ordinary :class:`IntervalDiscretizer`. 
     184        If ``True`` (default), the feature will be discretized to three 
     185        intervals and the discretizer is of type :class:`BiModalDiscretizer`. 
     186        If ``False`` the result is the ordinary :class:`IntervalDiscretizer`. 
    187187 
    188188Iris dataset has three-valued class attribute. The figure below, drawn using LOESS probability estimation, shows that 
     
    359359    [3.6, '>3.30', 'Iris-setosa'] 
    360360 
    361 The name of the new categorical variable derives from the name of original continuous variable by adding a prefix 
    362 "D_". The values of the new attributes are computed automatically when they are needed using a transformation function 
    363 :obj:`~Orange.data.variable.Variable.get_value_from` (see :class:`Orange.data.variable.Variable`) which encodes the 
    364 discretization:: 
     361The name of the new categorical variable derives from the name of original 
     362continuous variable by adding a prefix ``D_``. The values of the new attributes 
     363are computed automatically when they are needed using a transformation 
     364function :obj:`~Orange.data.variable.Variable.get_value_from` 
     365(see :class:`Orange.data.variable.Variable`) which encodes the discretization:: 
    365366 
    366367    >>> sep_w 
  • source/orange/discretize.hpp

    r9812 r9863  
    147147  __REGISTER_CLASS 
    148148 
    149   int numberOfIntervals; //P number of intervals 
     149  int numberOfIntervals; //P(+n) number of intervals 
    150150 
    151151  TEquiDistDiscretization(const int anumber=4); 
     
    176176  __REGISTER_CLASS 
    177177 
    178   int numberOfIntervals; //P number of intervals 
     178  int numberOfIntervals; //P(+n) number of intervals 
    179179  bool recursiveDivision; //P find cut-off points by recursive division (default = true) 
    180180 
Note: See TracChangeset for help on using the changeset viewer.