Ignore:
Timestamp:
02/06/12 12:31:13 (2 years ago)
Author:
Jure Zbontar <jure.zbontar@…>
Branch:
default
Message:

Renamed RandomGenerator to Random in docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/Orange.evaluation.testing.rst

    r9506 r9696  
    2727    randomize it. This is opposed to the previous versions where special 
    2828    care needed to be taken to make experiments repeatable. 
    29     See arguments :obj:`randseed` and :obj:`randomGenerator` for the 
    30     explanation. 
     29    See argument obj:`random_generator` for the explanation. 
    3130 
    3231Example scripts in this section suppose that the data is loaded and a 
     
    7271    if the class variable is discrete and has no unknown values. 
    7372 
    74 *randseed (obsolete: indicesrandseed), randomGenerator* 
    75     Random seed (``randseed``) or random generator (``randomGenerator``) for 
     73*randseed (obsolete: indicesrandseed), random_generator* 
     74    Random seed (``randseed``) or random generator (``random_generator``) for 
    7675    random selection of examples. If omitted, random seed of 0 is used and 
    7776    the same test will always select the same examples from the example 
     
    7978 
    8079    * 
    81       Set ``randomGenerator`` to :obj:`orange.globalRandom`. The function's 
     80      Set ``random_generator`` to :obj:`orange.globalRandom`. The function's 
    8281      selection will depend upon Orange's global random generator that 
    8382      is reset (with random seed 0) when Orange is imported. The Script's 
     
    8685 
    8786          res = Orange.evaluation.testing.proportion_test(learners, data, 0.7, 
    88               randomGenerator=orange.globalRandom) 
     87              random_generator=orange.globalRandom) 
    8988 
    9089    * 
    91       Construct a new :obj:`orange.RandomGenerator`. The code below, 
     90      Construct a new :obj:`Orange.misc.Random`. The code below, 
    9291      for instance, will produce different results in each iteration, 
    9392      but overall the same results each time it's run. 
Note: See TracChangeset for help on using the changeset viewer.