Ignore:
Timestamp:
02/07/12 13:16:54 (2 years ago)
Author:
markotoplak
Branch:
default
Message:

data.variable -> feature

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/classification/tree.py

    r9671 r9919  
    10161016a regression tree does not always predict the leaf average, but whatever 
    10171017the :obj:`~Node.node_classifier` in a leaf returns.  As ``%V`` uses the 
    1018 :obj:`Orange.data.variable.Continuous`' function for printing the 
     1018:obj:`Orange.feature.Continuous`' function for printing the 
    10191019value, the number has the same number of decimals as in the data file. 
    10201020 
     
    26592659        if self.class_var.var_type == Orange.data.Type.Discrete: 
    26602660            domain = Orange.data.Domain([self.class_var] + 
    2661                 [Orange.data.variable.Continuous(name) for name in 
     2661                [Orange.feature.Continuous(name) for name in 
    26622662                 ["instances", "majority proportion"] + list(self.class_var.values)], None) 
    26632663        else: 
    26642664            domain = Orange.data.Domain([self.class_var] + 
    2665                 [Orange.data.variable.Continuous(name) for name in 
     2665                [Orange.feature.Continuous(name) for name in 
    26662666                 ["error", "instances"]], None) 
    26672667        domain = Orange.data.Domain(domain) 
Note: See TracChangeset for help on using the changeset viewer.