Ignore:
Timestamp:
03/26/12 15:59:56 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fix for a bad resolve (obsolete name in TuneMParamaters).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/classification/svm/__init__.py

    r10640 r10642  
    693693            parameters.append(("gamma", [2 ** a for a in range(-5, 5, 2)] + [0])) 
    694694        import orngWrap 
    695         tunedLearner = orngWrap.TuneMParameters(object=self.learner, 
     695        tunedLearner = orngWrap.TuneMParameters(learner=self.learner, 
    696696                                                parameters=parameters, 
    697697                                                folds=self.folds) 
    698698 
    699         return tunedLearner(newexamples,verbose=self.verbose) 
     699        return tunedLearner(newexamples, verbose=self.verbose) 
    700700 
    701701class SVMLearnerSparseEasy(SVMLearnerEasy): 
Note: See TracChangeset for help on using the changeset viewer.