Ignore:
Timestamp:
03/20/12 16:34:07 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Always wrap the native SVMLearner.

File:
1 edited

Legend:

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

    r10584 r10585  
    176176        if self.normalization: 
    177177            data = self._normalize(data) 
    178             svm = self.learner(data) 
    179             return SVMClassifierWrapper(svm) 
    180         return self.learner(data) 
     178        svm = self.learner(data) 
     179        return SVMClassifierWrapper(svm) 
    181180 
    182181    @Orange.utils.deprecated_keywords({"progressCallback": "progress_callback"}) 
Note: See TracChangeset for help on using the changeset viewer.