Orange Forum • View topic - Error in example(ensemble2.py)

Error in example(ensemble2.py)

A place to ask questions about methods in Orange and how they are used and other general support.

Error in example(ensemble2.py)

Postby Subright » Tue Jul 21, 2009 8:36

This examples doesn't work.

The following is the detail of this error.

----

Traceback (most recent call last):
File "C:/Documents and Settings/subright/바탕 화면/DM lab/프로젝트/POSTECH-cuk diabeat/2009.07.14~ 실험/exp_ensemble.py", line 20, in <module>
results = orngTest.crossValidation(learners, data)
File "C:\Python25\lib\site-packages\orange\orngTest.py", line 185, in crossValidation
return testWithIndices(learners, (examples, weight), indices, indicesrandseed, pps, **argkw)
File "C:\Python25\lib\site-packages\orange\orngTest.py", line 403, in testWithIndices
cr = classifiers[cl](ex, orange.GetBoth)
File "C:\Python25\lib\site-packages\orange\orngEnsemble.py", line 70, in __call__
votes = [0.] * len(self.classvar.values)
AttributeError: 'BoostedClassifier' has no attribute 'classvar'

Boosting Error

Postby michael.hecht » Sat Feb 06, 2010 19:36

Someone should fix or explain this bug!

Seems to be fixed

Postby michael.hecht » Sat Feb 06, 2010 20:09

It's really funny, but it seems to be fixed within the last weeks, since the current snapshot doesn't have the bug.


Return to Questions & Support