Ticket #1322 (accepted bug)

Opened 8 months ago

Last modified 7 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:

Description

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.

Attachments

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

Change History

Changed 8 months ago by matthijss

comment:1 Changed 7 months ago by ales

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

comment:2 Changed 7 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.