Changeset 9787:4a5a42d8fe0a in orange


Ignore:
Timestamp:
02/06/12 17:58:03 (2 years ago)
Author:
Miha Stajdohar <miha.stajdohar@…>
Branch:
default
rebase_source:
4291fd1ba88559039e0025256d0653829cc27046
Message:

Changed dataset path.

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

Legend:

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

    r9374 r9787  
    77 
    88import orange, orngFSS 
    9 data = orange.ExampleTable("../../datasets/adult_sample") 
     9data = orange.ExampleTable("adult_sample.tab") 
    1010 
    1111def report_relevance(data): 
     
    1616print "Before feature subset selection (%d attributes):" % len(data.domain.attributes) 
    1717report_relevance(data) 
    18 data = orange.ExampleTable("../../datasets/adult_sample") 
     18data = orange.ExampleTable("adult_sample.tab") 
    1919 
    2020marg = 0.01 
  • docs/tutorial/rst/code/fss7.py

    r9374 r9787  
    1414import orange, orngDisc, orngTest, orngStat, orngFSS 
    1515 
    16 data = orange.ExampleTable("../../datasets/crx") 
     16data = orange.ExampleTable("crx.tab") 
    1717 
    1818bayes = orange.BayesLearner() 
     
    3131    natt[lrn] += len(results.classifiers[fold][lrn].domain.attributes) 
    3232for lrn in range(len(learners)): 
    33   natt[lrn] = natt[lrn]/10. 
     33  natt[lrn] = natt[lrn] / 10. 
    3434 
    3535print "\nLearner         Accuracy  #Atts" 
Note: See TracChangeset for help on using the changeset viewer.