Changeset 10766:10dfe80343b3 in orange


Ignore:
Timestamp:
04/05/12 16:03:03 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Translate the domain of the instance in RandomForestClassifier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/ensemble/forest.py

    r10754 r10766  
    215215        """ 
    216216        from operator import add 
    217          
     217 
     218        instance = Orange.data.Instance(self.domain, instance) 
    218219        # get results to avoid multiple calls 
    219220        res_both = [c(instance, orange.GetBoth) for c in self.classifiers] 
Note: See TracChangeset for help on using the changeset viewer.