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

改为:

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

 

posted on 2015-10-06 21:13  chamie  阅读(4377)  评论(0编辑  收藏  举报