Ignore:
Timestamp:
06/04/12 15:44:23 (23 months ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Fix AUX and stacking to use the new TestedExample structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/ensemble/stacking.py

    r10540 r10900  
    3939        p_data = Orange.data.Table(domain) 
    4040        for r in res.results: 
    41             p_data.append([p for ps in r.probabilities for p in ps[:-1]] + [r.actual_class]) 
     41            p_data.append([p for ps in r.probabilities for p in list(ps)[:-1]] + [r.actual_class]) 
    4242        meta_classifier = self.meta_learner(p_data) 
    4343 
Note: See TracChangeset for help on using the changeset viewer.