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/Classify/OWC45Tree.py

    r9671 r10552  
    1111 
    1212from orngWrap import PreprocessedLearner 
     13 
     14import Orange 
     15 
    1316class OWC45Tree(OWWidget): 
    1417    settingsList = ["name", 
     
    2326        self.callbackDeposit = [] 
    2427 
    25         self.inputs = [("Data", ExampleTable, self.setData), ("Preprocess", PreprocessedLearner, self.setPreprocessor)] 
    26         self.outputs = [("Learner", orange.Learner),("Classification Tree", orange.TreeClassifier)]#, ("C45 Tree", orange.C45Classifier)] 
     28        self.inputs = [("Data", ExampleTable, self.setData), 
     29                       ("Preprocess", PreprocessedLearner, self.setPreprocessor)] 
     30         
     31        self.outputs = [("Learner", orange.Learner), 
     32                        ("Classification Tree", Orange.classification.tree.TreeClassifier)]#, ("C45 Tree", orange.C45Classifier)] 
    2733 
    2834        # Settings 
Note: See TracChangeset for help on using the changeset viewer.