pyml 0.7.8: `test` is broken
Brought to you by:
asa_benhur
Traceback (most recent call last):
File "assignment.py", line 56, in <module>
main()
File "assignment.py", line 48, in main
print mc_svm.test(data)
File ".../PyML/evaluators/assess.py", line 45, in test
classifier.verifyData(data)
File ".../PyML/classifiers/baseClassifiers.py", line 55, in verifyData
if len(misc.intersect(self.featureID, data.featureID)) != len(self.featureID) :
AttributeError: 'OneAgainstRest' object has no attribute 'featureID'
The same error with a simple SVM class.
Solution: Uncomment at 76-78 in PyML/classifiers/baseClassifiers.py