Ticket #1362 (closed bug: fixed)

Opened 6 months ago

Last modified 6 months ago

MDS bug

Reported by: blaz Owned by: ales
Milestone: Next 2.x Component: canvas
Severity: immediate Keywords: mds
Cc: Blocking:
Blocked By:

Description

Aleš, the following bug appears when I am using MDS with the data that contains a class and a meta attribute with links to images.

The schema is:

File -> Attribute Distances -> MDS

I am using a data set with  digits.

ValueError                                    Traceback (most recent call last):
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Orange/OrangeCanvas/scheme/widgetsscheme.py", line 587, in process_signals_for_widget
    handler(*args)
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Orange/OrangeWidgets/Unsupervised/OWMDS.py", line 222, in cmatrix
    self.setExampleTable(data)
  File "/Applications/Orange.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Orange/OrangeWidgets/Unsupervised/OWMDS.py", line 336, in setExampleTable
    self.sizes[i][contI] = int(self.data[i][attr] / maxVal * 9) + 1
ValueError: cannot convert float NaN to integer

Change History

comment:1 Changed 6 months ago by ales

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

This was already fixed. Update to the latest version.

Note: See TracTickets for help on using tickets.