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/OWRegressionTreeViewer2D.py

    r9671 r10552  
    99import re 
    1010 
    11          
     11import Orange 
     12 
    1213class RegressionTreeNode(GraphicsNode): 
    1314    def __init__(self, attr, tree, parent=None, *args): 
     
    126127        OWTreeViewer2D.__init__(self, parent, signalManager, name) 
    127128 
    128         self.inputs = [("Classification Tree", orange.TreeClassifier, self.ctree)] 
     129        self.inputs = [("Classification Tree", Orange.regression.tree.TreeClassifier, self.ctree)] 
    129130        self.outputs = [("Data", ExampleTable)] 
    130131         
Note: See TracChangeset for help on using the changeset viewer.