Changeset 5028:ef6e19557453 in orange


Ignore:
Timestamp:
07/30/08 12:16:06 (6 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
cd42722e6a9b1a29450240b981856dd49aabaa9a
Message:

-fixed -fixed constant names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/orngSVM.py

    r4859 r5028  
    298298class RFE(object): 
    299299    def __init__(self, learner=None): 
    300         self.learner = learner or SVMLearner(kernel_type=orange.SVMLearner.LINEAR) 
    301  
    302     def getAttrScores(self, data, stopAt=10): 
     300        self.learner = learner or SVMLearner(kernel_type=orange.SVMLearner.Linear) 
     301 
     302    def getAttrScores(self, data, stopAt=0): 
    303303        iter = 1 
    304304        attrs = data.domain.attributes 
Note: See TracChangeset for help on using the changeset viewer.