Changeset 9747:9abf63b01601 in orange


Ignore:
Timestamp:
02/06/12 16:10:45 (2 years ago)
Author:
Miha Stajdohar <miha.stajdohar@…>
Branch:
default
rebase_source:
318adc0bf2f2ff5182d82a51a772a03acadfe760
Message:

Changed data set path.

Location:
docs/tutorial/rst/code
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • docs/tutorial/rst/code/report_missing.py

    r9374 r9747  
    55 
    66import orange 
    7 data = orange.ExampleTable("../../datasets/adult_sample") 
     7data = orange.ExampleTable("adult_sample.tab") 
    88 
    99natt = len(data.domain.attributes) 
     
    1313        if i[j].isSpecial(): 
    1414            missing[j] += 1 
    15 missing = map(lambda x, l=len(data):x/l*100., missing) 
     15missing = map(lambda x, l=len(data):x / l * 100., missing) 
    1616 
    1717print "Missing values per attribute:" 
  • docs/tutorial/rst/code/sample_adult.py

    r9374 r9747  
    66 
    77import orange 
    8 data = orange.ExampleTable("../../datasets/adult_sample") 
     8data = orange.ExampleTable("adult_sample.tab") 
    99selection = orange.MakeRandomIndices2(data, 0.03) 
    1010sample = data.select(selection, 0) 
Note: See TracChangeset for help on using the changeset viewer.