Hey, I'm getting this error when I'm trying to classify objects. I tried to search around to find clues and it seems it has to do with how Python handles local and global variables. The error message is from when I did experiments on a Ubuntu 10.4 machine, used Python 2.6.5 and PyML 7.7 or 7.11. (Both versions gave the same error message).
File "/usr/local/lib/python2.6/dist-packages/PyML/classifiers/svm.py", line 127, in load self.train(data, alpha = alpha, b = b, svID = svID)
UnboundLocalError: local variable 'alpha' referenced before assignment
Anyone who have experienced this error before?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.