Mandar - 2011-09-06

While trying to use the multi module I get the error saying type object 'type' has no attribute named deepcopy. The error log is as follows:

Traceback (most recent call last):
  File "pyeg.py", line 6, in <module>
    mc.cv (data)
  File "/usr/local/lib/python2.7/site-packages/PyML/evaluators/assess.py", line 202, in cv
    return cvFromFolds(classifier, data, trainingPatterns, testingPatterns, **args)
  File "/usr/local/lib/python2.7/site-packages/PyML/evaluators/assess.py", line 151, in cvFromFolds
    trainingPatterns[fold], testingPatterns[fold], **args))
  File "/usr/local/lib/python2.7/site-packages/PyML/evaluators/assess.py", line 92, in trainTest
    classifier.train(trainingData, **args)
  File "/usr/local/lib/python2.7/site-packages/PyML/classifiers/multi.py", line 89, in train
    datai = data.__class__(data, deepcopy = self.classifier.deepcopy)
AttributeError: type object 'type' has no attribute 'deepcopy'

How do I get around this issue?