Ignore:
Timestamp:
03/27/12 10:53:01 (2 years ago)
Author:
markotoplak
Branch:
default
rebase_source:
f0d00da835a43858163d453828a9f86c79100449
Message:

Moved selection from misc to utils.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference/rst/code/misc-selection-bestonthefly.py

    r10033 r10654  
    1 # Description: Demonstrates the use of BestOnTheFly class from Orange.misc.selection 
    2 # Category:    misc, selection 
     1# Description: Demonstrates the use of BestOnTheFly class from Orange.utils.selection 
     2# Category:    utils, selection 
    33# Classes:     BestOnTheFly 
    44# Uses:        lymphography.tab 
     
    99lymphography = Orange.data.Table("zoo") 
    1010 
    11 find_best = Orange.misc.selection.BestOnTheFly(call_compare_on_1st=True) 
     11find_best = Orange.utils.selection.BestOnTheFly(call_compare_on_1st=True) 
    1212 
    1313for attr in lymphography.domain.attributes: 
     
    1616print "%5.3f: %s" % find_best.winner() 
    1717 
    18 find_best = Orange.misc.selection.BestOnTheFly(Orange.misc.selection.compare_first_bigger) 
     18find_best = Orange.utils.selection.BestOnTheFly(Orange.utils.selection.compare_first_bigger) 
    1919 
    2020for attr in lymphography.domain.attributes: 
     
    2323print "%5.3f: %s" % find_best.winner() 
    2424 
    25 find_best = Orange.misc.selection.BestOnTheFly() 
     25find_best = Orange.utils.selection.BestOnTheFly() 
    2626 
    2727for attr in lymphography.domain.attributes: 
Note: See TracChangeset for help on using the changeset viewer.