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

Replaced orange.TreeClassifier with Orange.classification.tree.TreeClassifier in channel types (needed for dynamic signals to work when connecting to Tree Graph/Viewer widgets).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Regression/OWRegressionTree.py

    r9671 r10552  
    1515 
    1616from orngWrap import PreprocessedLearner 
     17 
     18import Orange 
    1719 
    1820class OWRegressionTree(OWWidget): 
     
    3840        self.preprocessor = None 
    3941 
    40         self.inputs=[("Data",ExampleTable,self.dataset), ("Preprocess", PreprocessedLearner, self.setPreprocessor)] 
    41         self.outputs=[("Learner",orange.Learner),("Regressor",orange.Classifier),("Regression Tree",orange.TreeClassifier)] 
     42        self.inputs=[("Data",ExampleTable,self.dataset), 
     43                     ("Preprocess", PreprocessedLearner, self.setPreprocessor)] 
     44         
     45        self.outputs=[("Learner", orange.Learner), 
     46                      ("Regressor", orange.Classifier), 
     47                      ("Regression Tree", Orange.regression.tree.TreeClassifier)] 
    4248 
    4349        ## 
Note: See TracChangeset for help on using the changeset viewer.