纯python朴素贝叶斯分类器

上传者: jiazi1024 | 上传时间: 2024-06-24 14:11:55 | 文件大小: 1.47MB | 文件类型: ZIP
大数据期末大作业 数据挖掘, 爬虫相关,朴素贝叶斯分类器python 简介: 运用爬虫技术以及朴素贝叶斯分类对抓取的新闻进行分类, 分析每种新闻在网站中的占比 已定义的新闻类别: 财经 科技 汽车 房产 体育 娱乐 其他 1. 环境以及依赖 python环境 python==3.9 依赖的第三方库: jieba parseurl bs4 numpy 2. 使用模型 朴素贝叶斯分类器 实现:纯python实现 3. 数据来源 新闻共分7类,新闻信息在此采集: 1 财经 http://finance.qq.com/l/201108/scroll_17.htm 2 科技 http://tech.qq.com/l/201512/scroll_02.htm 3 汽车 http://auto.qq.com/l/201512/scrollnews_02_2.htm 4 房产 http://gd.qq.com/l/house/fcgdxw/more_7.htm 5 体育 http://sports.qq.com/l/201512/scrollnews_01_2.htm 6 娱乐 http

文件下载

资源详情

[{"title":"( 58 个子文件 1.47MB ) 纯python朴素贝叶斯分类器","children":[{"title":"naive-bayesian-text-classifier-master","children":[{"title":"parseurl.py <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"parseurl.pyc <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"bayesclassifier.py <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false},{"title":"bayestraining.py <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"medfiles","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"stop.txt <span style='color:#111;'> 11.49KB </span>","children":null,"spread":false},{"title":"urltest.txt <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"1_76.txt <span style='color:#111;'> 6.86KB </span>","children":null,"spread":false},{"title":"7_92.txt <span style='color:#111;'> 796B </span>","children":null,"spread":false},{"title":"2_43.txt <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"2_32.txt <span style='color:#111;'> 6.46KB </span>","children":null,"spread":false},{"title":"6_26.txt <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"6_85.txt <span style='color:#111;'> 955B </span>","children":null,"spread":false},{"title":"3_49.txt <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"7_95.txt <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"1_85.txt <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"6_74.txt <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"2_45.txt <span style='color:#111;'> 9.49KB </span>","children":null,"spread":false},{"title":"3_80.txt <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"2_66.txt <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false},{"title":"6_31.txt <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"7_53.txt <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"3_30.txt <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"6_54.txt <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"3_7.txt <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false}],"spread":false},{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"fre.py <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"1_76.txt <span style='color:#111;'> 6.86KB </span>","children":null,"spread":false},{"title":"7_92.txt <span style='color:#111;'> 796B </span>","children":null,"spread":false},{"title":"2_43.txt <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"3_72.txt <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"2_32.txt <span style='color:#111;'> 6.46KB </span>","children":null,"spread":false},{"title":"6_26.txt <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"6_85.txt <span style='color:#111;'> 955B </span>","children":null,"spread":false},{"title":"3_49.txt <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"7_95.txt <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"3_92.txt <span style='color:#111;'> 9.72KB </span>","children":null,"spread":false},{"title":"1_85.txt <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"6_74.txt <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"2_45.txt <span style='color:#111;'> 9.49KB </span>","children":null,"spread":false},{"title":"3_80.txt <span style='color:#111;'> 2.43KB </span>","children":null,"spread":false},{"title":"2_66.txt <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false},{"title":"6_31.txt <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"7_53.txt <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"3_30.txt <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"6_54.txt <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"3_7.txt <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false}],"spread":false},{"title":"outcome","children":[{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"bayes_training_outcome","children":[{"title":"7_bayestraining.txt <span style='color:#111;'> 1022.31KB </span>","children":null,"spread":false},{"title":"4_bayestraining.txt <span style='color:#111;'> 748.63KB </span>","children":null,"spread":false},{"title":"2_bayestraining.txt <span style='color:#111;'> 985.42KB </span>","children":null,"spread":false},{"title":"6_bayestraining.txt <span style='color:#111;'> 852.05KB </span>","children":null,"spread":false},{"title":"5_bayestraining.txt <span style='color:#111;'> 813.13KB </span>","children":null,"spread":false},{"title":"1_bayestraining.txt <span style='color:#111;'> 836.31KB </span>","children":null,"spread":false},{"title":"3_bayestraining.txt <span style='color:#111;'> 651.66KB </span>","children":null,"spread":false},{"title":".keep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"visualize.py <span style='color:#111;'> 52B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明