Orange Forum • View topic - scatter plot vizrank error

scatter plot vizrank error

A place to ask questions about methods in Orange and how they are used and other general support.

scatter plot vizrank error

Postby davood206 » Sun Jun 16, 2013 12:19

I want to find outlier from iris dataset . I just connect file widget to scatterplot and press the button outlier identification, I recieve this error:

There were problems importing the following widgets:
OWC45Tree: c45 is not found
OWItemsetViz: No module named OWNetworkCanvas
OWRScript: No module named rpy2.robjects
OWLinProj3D: No module named OpenGL
OWNxExplorer3D: No module named OWNxExplorerQt
OWScatterPlot3D: No module named OpenGL
OWSphereviz3D: No module named OpenGL
(2, 'No such file or directory')
OWDataDistance: No module named qt
OWExampleSelector: No module named qttable
OWHypTest: No module named qt
OWNormalize: No module named numpyExtn
OWModelMap: No module named OWNxCanvasQt
The following widgets could not be imported and will not be available: OWSphereviz3D, OWModelMap, OWC45Tree, OWLinProj3D, OWNxExplorer3D, OWScatterPlot3D.
The following prototype widgets could not be imported and will not be available: OWItemsetViz, OWRScript, OWHypTest, OWExampleSelector, OWDataDistance, OWNormalize.

Unhandled exception of type TypeError occured at 15:37:24:
Traceback:
File: OWGUI.py, line 1501 in __call__
Code: self.f(**kwds)
File: OWkNNOptimization.py, line 1573 in toggleShowPredictions
Code: predictions = self.matrixOfPredictions[corrClass::classCount,i]
TypeError: 'NoneType' object is not subscriptable
---------------------------------------------------------------------------------------------------
also when I press the button start evaluating I recieve this error:

Unhandled exception of type TypeError occured at 15:41:40:
Traceback:
File: OWkNNOptimization.py, line 730 in evaluateProjections
Code: self.finishedAddingResults()
File: OWkNNOptimization.py, line 477 in finishedAddingResults
Code: self.identifyOutliersDlg.setResults(self.results)
TypeError: setResults() takes exactly 3 arguments (2 given)

Unhandled exception of type ValueError occured at 15:42:14:
Traceback:
File: OWkNNOptimization.py, line 659 in identifyOutliers
Code: self.identifyOutliersDlg.setResults(self.graph.rawData, self.shownResults)
File: OWkNNOptimization.py, line 1513 in setResults
Code: self.evaluateProjections()
File: OWkNNOptimization.py, line 1550 in evaluateProjections
Code: VizRankOutliers.evaluateProjections(self, qApp)
File: orngVizRank.py, line 1476 in evaluateProjections
Code: acc, probabilities = self.vizrank.kNNClassifyData(table)
File: orngVizRank.py, line 339 in kNNClassifyData
Code: probabilities[i] = res.probabilities[0]
ValueError: setting an array element with a sequence.
---------------------------
I have tested it in win xp and win8,but same problem has occured.
I use orange with python 2.7 .

Return to Questions & Support