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/code/testing-test.py

    r9372 r9696  
    2424print "\nproportionsTest that will give different results, \ 
    2525but the same each time the script is run" 
    26 myRandom = Orange.core.RandomGenerator() 
     26myRandom = Orange.misc.Random() 
    2727for i in range(3): 
    2828    res = Orange.evaluation.testing.proportion_test(learners, table, 0.7, 
    29         randomGenerator=myRandom) 
     29        random_generator=myRandom) 
    3030    printResults(res) 
    3131# End 
Note: See TracChangeset for help on using the changeset viewer.