Orange Forum • View topic - Test learners random sampling

Test learners random sampling

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

Test learners random sampling

Postby bodyguardfd » Wed Nov 04, 2009 13:21

I am new to Orange... My question probably has a simple answer. When using the widget "Test Learners" with the random sampling radio checked,everytime the result result is the followng exception (see below), not allowing me to do anything more . I use the windows installation. Installations is problem free and I also tried to reinstall Orange, but nothing changes...

Andrew


There were problems importing the following widgets:
OWScatterPlotXp: No module named RandomArray
OWSimon: No module named qt
OWCorrAnalysis: No module named qttable
The following widgets could not be imported and will not be available: OWCorrAnalysis.
The following prototype widgets could not be imported and will not be available: OWScatterPlotXp, OWSimon.
Unhandled exception of type UnboundLocalError occured at 12:57:58:
Traceback:
File: OWGUI.py, line 1399 in __call__
Code: self.f(**kwds)
File: OWTestLearners.py, line 453 in newsampling
Code: self.recompute()
File: OWTestLearners.py, line 469 in recompute
Code: self.score([l.id for l in self.learners.values()])
File: OWTestLearners.py, line 285 in score
Code: times=self.pRepeat, callback=pb.advance, storeExamples = True)
File: orngTest.py, line 170 in proportionTest
Code: learnAndTestOnTestData(learners, (learnset, weight), (testset, weight), testResults, time, pps, **argkw)
UnboundLocalError: local variable 'testResults' referenced before assignment

Return to Questions & Support



cron