Ignore:
Timestamp:
02/07/12 19:26:14 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
42219203d685928c8bb777610c858b7cc732a968
Message:

Modernized some example scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/scoring-relief-caching.py

    r9823 r9945  
    55# Referenced:  MeasureAttribute.htm 
    66 
    7 import orange 
    8 iris = orange.ExampleTable("iris") 
     7import Orange 
     8iris = Orange.data.Table("iris") 
    99 
    10 r1 = orange.MeasureAttribute_relief() 
    11 r2 = orange.MeasureAttribute_relief(check_cached_data = False) 
     10r1 = Orange.feature.scoring.Relief() 
     11r2 = Orange.feature.scoring.Relief(check_cached_data = False) 
    1212 
    1313print "%.3f\t%.3f" % (r1(0, iris), r2(0, iris)) 
Note: See TracChangeset for help on using the changeset viewer.