Ticket #1322 (accepted bug)

Opened 13 months ago

Last modified 12 months ago

Orange 2.7 association rules inducer crashes Python for discrete table with negative values

Reported by: matthijss Owned by: ales
Milestone: Component: library
Severity: minor Keywords:
Cc: Blocking:
Blocked By:


Code to reproduce is attached.

I'm new to Orange and didn't know that negative values were not allowed in discrete tables, and it took me a while to figure out what caused the crash. This problem should be caught with a message that negative values are not allowed, instead of crashing Python.

Documentation on this could also be a lot clearer. It says somewhere that values in the table are used to index into the value list, but this is an inconspicuous line somewhere in the API doc.


example.py Download (417 bytes) - added by matthijss 13 months ago.

Change History

Changed 13 months ago by matthijss

comment:1 Changed 12 months ago by ales

  • Owner set to ales
  • Status changed from new to accepted

comment:2 Changed 12 months ago by Ales Erjavec <ales.erjavec@…>

In [49d2a5f5db165f8bf5220415b24b35ccf577b7e8/orange]:

Check the values of discrete features in Orange.data.Table constructor.

(references #1322)

Note: See TracTickets for help on using tickets.