Changeset 9167:c05cdc189733 in orange


Ignore:
Timestamp:
11/02/11 20:04:00 (2 years ago)
Author:
markotoplak
Branch:
default
Convert:
765fdadf0ab8fca93db275ab931e91c88cc761a6
Message:

Preprocessing: featureSelection fix (before it just selected random feature).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/preprocess/__init__.py

    r8735 r9167  
    237237        """ Return a list of computed scores for all attributes in `data`.  
    238238        """ 
    239         measures = [(self.measure(attr, data), attr) for attr in data.domain.attributes] 
     239        measures = sorted([(self.measure(attr, data), attr) for attr in data.domain.attributes]) 
    240240        return measures 
    241241          
Note: See TracChangeset for help on using the changeset viewer.