文本特征向量可以描述为文本中的字/词构成的属性。例如给出文本: Good good study,Day day up. 可以获得该文本的特征向量集:{ Good, good, study, Day, day , up.} 朴素贝叶斯模型是文本分类模型中的一种简单但性能优越的的分类模型。为了简化计算过程,假定各待分类文本特征变量是相互独立的,即 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001094s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.063041s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000916s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001179s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001034s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003150s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000783s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003559s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.014048s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001289s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 79419 [ RunTime:0.013643s ]