p0V,p1V,pSpam=trainNBO(array[trainMat],array(trainClasses))

改为:

p0V,p1V,pSpam=trainNBO(array(trainMat]),array(trainClasses))
04-30 08:15