Changeset 4969:b314a0764a75 in orange


Ignore:
Timestamp:
07/14/08 13:46:56 (6 years ago)
Author:
gregor <gregor@…>
Branch:
default
Convert:
839caa5d165e6c69c052423e863eed83bf4afc0d
Message:
  • removed activateLoadedSettings
Location:
orange/OrangeWidgets/Classify
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Classify/OWC45Tree.py

    r4899 r4969  
    7373        OWGUI.button(self.controlArea, self, "&Apply", callback = self.setLearner, disabled=0) 
    7474 
     75        self.setLearner() 
    7576 
    76     def activateLoadedSettings(self): 
    77         self.setLearner() 
    7877 
    7978    # main part: 
     
    8988                                             minObjs=self.useMinObjs and self.minObjs or 0, prune=self.prune, cf=self.cf/100., 
    9089                                             batch = not self.iterative, window=self.manualWindow and self.window or 0, increment=self.manualIncrement and self.increment or 0, trials=self.trials, 
    91                                              convertToOrange = 1, #self.convertToOrange,  
     90                                             convertToOrange = 1, #self.convertToOrange, 
    9291                                             storeExamples = 1) 
    9392        except: 
  • orange/OrangeWidgets/Classify/OWClassificationTreeViewer.py

    r4826 r4969  
    298298    a=QApplication(sys.argv) 
    299299    ow=OWClassificationTreeViewer() 
    300     a.setMainWidget(ow) 
     300    #a.setMainWidget(ow) 
    301301 
    302302    data = orange.ExampleTable(r'../../doc/datasets/adult_sample') 
  • orange/OrangeWidgets/Classify/OWNaiveBayes.py

    r4830 r4969  
    9999 
    100100 
    101     def activateLoadedSettings(self): 
    102         self.applyLearner() 
    103  
    104  
    105101    def refreshControls(self, *a): 
    106102        self.mwidget.setEnabled(self.condProbEstimation==3) 
     
    115111            self.warning(0, "Window proportion for LOESS should be between 0.0 and 1.0") 
    116112            self.learner = None 
    117      
     113 
    118114        else: 
    119115            self.learner = orange.BayesLearner(name = self.name, adjustThreshold = self.adjustThreshold) 
     
    123119                self.learner.conditionalEstimatorConstructorContinuous = orange.ConditionalProbabilityEstimatorConstructor_loess( 
    124120                   windowProportion = self.windowProportion, nPoints = self.loessPoints) 
    125      
     121 
    126122            self.send("Learner", self.learner) 
    127123            self.applyData() 
Note: See TracChangeset for help on using the changeset viewer.