Ticket #177 (closed bug: fixed)

Opened 6 years ago

Last modified 3 years ago

bug v OWTestlearners

Reported by: gregor Owned by: blaz
Milestone: 1.0 Component: orng_modules
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

Test learners widget crkne pri enem testu. Exception:

   File: OWTestLearners.py in line  273
   Function name: score
   Code: scores = [eval("orngStat." + s.f) for s in self.stat]
      File: orngStat.py in line  696
      Function name: F1
      Code: return [F1(cm) for cm in confm]
         File: orngStat.py in line  700
         Function name: F1
         Code: return 2. * p * r / (p + r)
         Exception type: <type 'exceptions.ZeroDivisionError'>
         Exception value: float division

ne vem, kaj bi rad da funkcija v tem primeru vrne, zato bi to raje prepustil tebi da popravis.
bug lahko repliciras s klicem: "debugWidgets.py Evaluate.py"

Change History

comment:1 Changed 3 years ago by ales

  • Status changed from new to closed
  • Resolution set to fixed

Fixed by blaz in revision 8080.

Note: See TracTickets for help on using tickets.