Ticket #480 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

AUC_single se sesuje, ce testiram na testnih podatkih

Reported by: marko Owned by: janez
Milestone: Future Component: orng_modules
Severity: major Keywords:
Cc: Blocking:
Blocked By:

Description

S cross validacijo dela brez tezav.

import orange, orngTest, orngStat
data = orange.ExampleTable("titanic")

learners = [ orange.MajorityLearner() ]

print "cross validation"
oresults = orngTest.crossValidation(learners, data)
print orngStat.AUC_single(oresults, 0)[0]

print "test on training data"
oresults = orngTest.learnAndTestOnLearnData(learners, data)
print orngStat.AUC_single(oresults, 0)[0]

vrne:

marko@nise:~/debor$ python m2.py
cross validation
0.5
test on training data
Traceback (most recent call last):
  File "m2.py", line 12, in <module>
    print orngStat.AUC_single(oresults, 0)[0]
  File "/home/marko/orange/orngStat.py", line 1312, in AUC_single
    return AUC_i([res], classIndex, useWeights)
  File "/home/marko/orange/orngStat.py", line 1210, in AUC_i
    return AUC_x(corn.computeCDT, ite, all_ite, divideByIfIte, (classIndex, useWeights))
  File "/home/marko/orange/orngStat.py", line 1189, in AUC_x
    cdts = cdtComputer(*(ite, ) + computerArgs)
corn.KernelException: std::exception

Change History

comment:1 Changed 5 years ago by marko

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.