TextClassify icon indicating copy to clipboard operation
TextClassify copied to clipboard

demo_bow.py 运行后准确率为1/8

Open wyk-qyf opened this issue 8 years ago • 0 comments

  1. debug发现test_predict的值全是'G_\xc2\xc3\xd3\xce\xbe\xb0\xb5\xe3',全部分为了G类,求教为什么?

2.而运行demo_tfidf.py 运行没问题,结果为accuracy is 0.912500,正好是你readme中使用demo_bow.py得到的结果,求教是不是哪里出错了?

  1. 如何让demo_tfidf.py 也可以保存分类器模型,每次只预测新样本,省略每次训练时间。

ps:环境python2.7 ,期待您的回复

wyk-qyf avatar Oct 31 '17 03:10 wyk-qyf