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

data.variable -> feature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/ensemble/bagging.py

    r9919 r9923  
    108108              :class:`Orange.statistics.Distribution` or a tuple with both 
    109109        """ 
    110         if self.class_var.var_type == Orange.data.Type.Discrete: 
     110        if self.class_var.var_type == Orange.feature.Type.Discrete: 
    111111            freq = [0.] * len(self.class_var.values) 
    112112            for c in self.classifiers: 
     
    126126                return value 
    127127             
    128         elif self.class_var.var_type ==Orange.data.Type.Continuous: 
     128        elif self.class_var.var_type ==Orange.feature.Type.Continuous: 
    129129            votes = [c(instance, orange.GetBoth if result_type==\ 
    130130                orange.GetProbabilities else result_type) \ 
Note: See TracChangeset for help on using the changeset viewer.