Orange Forum • View topic - Logistic regression widget does not work

Logistic regression widget does not work

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.

Logistic regression widget does not work

Postby Kesley Oliveira » Sun Mar 01, 2009 2:19

Dear colleagues:

I tried introduce logistic regression widget in my schema and the error bellow occured. I apreciate any help.
Thanks in advance,
Kesley

Orange version 1.0

Traceback:
File: orngDoc.py, line 274 in addWidget
Code: newwidget = orngCanvasItems.CanvasWidget(self.signalManager,
self.canvas, self.canvasView, widget, self.canvasDlg.defaultPic,
self.canvasDlg)
File: orngCanvasItems.py, line 290 in __init__
Code: self.instance = eval(code)
File: OWLogisticRegression.py, line 52 in __init__
Code: remCritSpin = OWGUI.spin(ibox, self, "removeCrit", 1, 50,
label="Remove threshold [%]", labelWidth=155, tooltip="Requested significance
for removing an attribute")
File: OWGUI.py, line 151 in spin
Code: wa.setValue(master.getdeepattr(value))
File: OWGUI.py, line 109 in setValue
Code: QSpinBox.setValue(self, value)
TypeError: Argument 2 of QSpinBox.setValue() has an invalid type

Postby Blaz » Sun Mar 01, 2009 17:57

Will check (obviously a big in 1.0). Logistic Regression widget works well in a daily snapshot (sort of 2.0 beta). Before we fix this in 1.0, you are encouraged to switch to the new version of Orange (ie, daily snapshots with Qt 4).

Postby Ales » Mon Mar 02, 2009 11:07

I can't replicate this bug. But from the stack printout I think the problem is in the saved widget settings.

Kesley can you delete the widget settings (close all open schemas in Orange Canvas then go to menu bar Options->Delete Widget Settings) and then try again.


Return to Bugs



cron