Ignore:
Timestamp:
02/06/12 20:01:02 (2 years ago)
Author:
lanumek
Branch:
default
Children:
9835:e48466fc6eb2, 9841:05a160804431
rebase_source:
8cf30121654f25c9cb6d8ac9bdaf163e305d62da
Message:

Changed names of data sets (table replaced with data or name of the data set).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/randomindicesn.py

    r9372 r9823  
    77import Orange 
    88 
    9 data = Orange.data.Table("lenses") 
     9lenses = Orange.data.Table("lenses") 
    1010 
    1111indicesn = Orange.data.sample.SubsetIndicesN(p=[0.5, 0.25]) 
    1212 
    13 ind = indicesn(data) 
     13ind = indicesn(lenses) 
    1414print ind 
    1515 
    1616indicesn = Orange.data.sample.SubsetIndicesN(p=[12, 6]) 
    1717 
    18 ind = indicesn(data) 
     18ind = indicesn(lenses) 
    1919print ind 
Note: See TracChangeset for help on using the changeset viewer.