Changeset 3771:ce50db9d6f89 in orange


Ignore:
Timestamp:
07/10/07 09:47:31 (7 years ago)
Author:
markotoplak
Branch:
default
Convert:
6d6b21995a83b04391e435fb5bbcceff102f4e04
Message:

Added classVar field to RandomForestClassifier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/orngEnsemble.py

    r3572 r3771  
    203203            if self.callback: self.callback((i+1.)/self.trees) 
    204204 
    205         return RandomForestClassifier(classifiers = classifiers, name=self.name, domain=examples.domain) 
     205        return RandomForestClassifier(classifiers = classifiers, name=self.name, domain=examples.domain, classVar=examples.domain.classVar) 
    206206         
    207207class RandomForestClassifier: 
Note: See TracChangeset for help on using the changeset viewer.