Orange Forum • View topic - bug in Test Learners?

bug in Test Learners?

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

bug in Test Learners?

Postby hugo_koopmans » Thu May 06, 2010 17:47

Hi,

When using Test Learners to validate Naive Bayes and Classification Tree nodes i get the following error:

Unhandled exception of type ImportError occured at 18:24:59:
Traceback:
File: OWTestLearners.py, line 309 in score
Code: scores = [eval("orngStat." + s.f) for s in self.stat]
File: orngStat.py, line 1340 in AUC
Code: return AUC_multi(res, useWeights, method)
File: orngStat.py, line 1305 in AUC_multi
Code: subsum_aucs = AUC_iterations(AUC_ij, iterations, (classIndex1, classIndex2, useWeights, all_ite, res.numberOfIterations))
File: orngStat.py, line 1268 in AUC_iterations
Code: aucs, foldsUsed = AUCcomputer(*(ite, ) + computerArgs)
File: orngStat.py, line 1251 in AUC_ij
Code: import corn
ImportError: No module named corn

Can anyone tell me were to get or how to import the 'corn' module?

Thank you,

Hugo

Postby Ales » Fri May 07, 2010 9:08

The corn module is part of the orange installation. Can you check if it present in the orange directory.

How did you install orange (did you build it yourself)?

what to look for?

Postby hugo_koopmans » Fri May 07, 2010 13:18

tx for your reply,

yes i build it myself.
downloaded svn and followed instructions in
/doc/INSTALL.linux.txt

i do not know what to look for...
is it a .py file? what is that exact name?

hugo

Postby Ales » Sat May 08, 2010 0:25

It is an .so file (i.e corn.so).

During the orange compilation (when running make) were there any errors?

Postby hugo_koopmans » Tue May 25, 2010 20:13

Ales wrote:It is an .so file (i.e corn.so).

During the orange compilation (when running make) were there any errors?


not that i was aware off

Postby hugo_koopmans » Tue May 25, 2010 22:16

solved, found it and copied it to right location

tx!


Return to Bugs



cron