Orange Forum • View topic - Outliers bug?

Outliers bug?

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

Outliers bug?

Postby treeninja » Thu Dec 23, 2010 20:49

Hello!

Good job guys! I just download Oranga and start to play with it. I am looking at your documentation on the website.

I've used the File widget and load adult.tab file there. The I use Outliers widget, but when I open it and try to select different Distance mettrics it shows me this:

EDIT: If i used audiology.tab it worked fine, so it looks like it's not handling something properly with the adult dataset.

Code: Select all
There were problems importing the following widgets:
   OWANOVA: No module named scipy.stats
   OWApproxProfiles: No module named scipy.stats
   OWDataDistance: No module named qt
   OWDisplayMotifs: name 'QwtCurve' is not defined
   OWEpistasisAnalysis: No module named qt
   OWExampleSelector: No module named qttable
   OWGenomeMap: No module named qtcanvas
   OWHypTest: No module named qt
   OWBagofWords: No module named _orngTextWrapper
   OWLetterNgram: No module named _orngTextWrapper
   OWTextDistance: No module named _orngTextWrapper
   OWTextFeatureSelection: No module named _orngTextWrapper
   OWTextPreprocess: No module named _orngTextWrapper
   OWWordNgram: No module named _orngTextWrapper
The following widgets could not be imported and will not be available: OWTextDistance, OWTextPreprocess, OWLetterNgram, OWTextFeatureSelection, OWBagofWords, OWWordNgram.
The following prototype widgets could not be imported and will not be available: OWGenomeMap, OWEpistasisAnalysis, OWDataDistance, OWANOVA, OWDisplayMotifs, OWApproxProfiles, OWHypTest, OWExampleSelector.

Unhandled exception of type KernelException occured at 20:43:47:
Traceback:
  File: OWBaseWidget.py, line 664 in processSignals
  Code: handler(value)
    File: OWOutliers.py, line 111 in cdata
    Code: self.dataChange()
      File: OWOutliers.py, line 133 in dataChange
      Code: self.applySettings()
        File: OWOutliers.py, line 87 in applySettings
        Code: zv = outlier.zValues()
          File: orngOutlier.py, line 76 in zValues
          Code: list = self.averageMeans()
            File: orngOutlier.py, line 50 in averageMeans
            Code: dm = self.distanceMatrix()
              File: orngOutlier.py, line 45 in distanceMatrix
              Code: self.calcDistanceMatrix()
                File: orngOutlier.py, line 37 in calcDistanceMatrix
                Code: self.distmatrix = orange.SymMatrix(len(self.examples))
                  KernelException: bad allocation


If i attach Data Table after outliers it is empty. Is this a bug, or am I doing something wrong?

Miha

Postby Ales » Mon Dec 27, 2010 11:04

This is basically an "Out off memory" error. The SymMatrix constructor tries to allocate too much memory ((dim+1)(dim+2)/2 of floats where dim is len(examples)). This probably hits a per process memory limit on a 32-bit system.


Return to Bugs