朴素贝叶斯分类器算法

上传者: u012494321 | 上传时间: 2022-12-29 18:45:58 | 文件大小: 16KB | 文件类型: RAR
实现朴素贝叶斯分类器算法基本功能,代码有注释,还包括一个垃圾邮件过滤的实例。另外我这次用的是python2.7版,如果用python3的可能需要根据提示修改几个语法(sorted函数的参数)。

文件下载

资源详情

[{"title":"( 52 个子文件 16KB ) 朴素贝叶斯分类器算法","children":[{"title":"spamEmail.py <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"email","children":[{"title":"spam","children":[{"title":"22.txt <span style='color:#111;'> 362B </span>","children":null,"spread":false},{"title":"19.txt <span style='color:#111;'> 398B </span>","children":null,"spread":false},{"title":"9.txt <span style='color:#111;'> 169B </span>","children":null,"spread":false},{"title":"21.txt <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"3.txt <span style='color:#111;'> 414B </span>","children":null,"spread":false},{"title":"18.txt <span style='color:#111;'> 258B </span>","children":null,"spread":false},{"title":"14.txt <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"12.txt <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"10.txt <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"7.txt <span style='color:#111;'> 169B </span>","children":null,"spread":false},{"title":"2.txt <span style='color:#111;'> 298B </span>","children":null,"spread":false},{"title":"23.txt <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"13.txt <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"6.txt <span style='color:#111;'> 252B </span>","children":null,"spread":false},{"title":"17.txt <span style='color:#111;'> 254B </span>","children":null,"spread":false},{"title":"11.txt <span style='color:#111;'> 414B </span>","children":null,"spread":false},{"title":"4.txt <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":"5.txt <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"1.txt <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"25.txt <span style='color:#111;'> 264B </span>","children":null,"spread":false},{"title":"24.txt <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"16.txt <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"15.txt <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"8.txt <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"20.txt <span style='color:#111;'> 362B </span>","children":null,"spread":false}],"spread":false},{"title":"ham","children":[{"title":"22.txt <span style='color:#111;'> 330B </span>","children":null,"spread":false},{"title":"19.txt <span style='color:#111;'> 161B </span>","children":null,"spread":false},{"title":"9.txt <span style='color:#111;'> 146B </span>","children":null,"spread":false},{"title":"21.txt <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"3.txt <span style='color:#111;'> 371B </span>","children":null,"spread":false},{"title":"18.txt <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"14.txt <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"12.txt <span style='color:#111;'> 182B </span>","children":null,"spread":false},{"title":"10.txt <span style='color:#111;'> 86B </span>","children":null,"spread":false},{"title":"7.txt <span style='color:#111;'> 109B </span>","children":null,"spread":false},{"title":"2.txt <span style='color:#111;'> 234B </span>","children":null,"spread":false},{"title":"23.txt <span style='color:#111;'> 607B </span>","children":null,"spread":false},{"title":"13.txt <span style='color:#111;'> 174B </span>","children":null,"spread":false},{"title":"6.txt <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"17.txt <span style='color:#111;'> 464B </span>","children":null,"spread":false},{"title":"11.txt <span style='color:#111;'> 130B </span>","children":null,"spread":false},{"title":"4.txt <span style='color:#111;'> 207B </span>","children":null,"spread":false},{"title":"5.txt <span style='color:#111;'> 114B </span>","children":null,"spread":false},{"title":"1.txt <span style='color:#111;'> 148B </span>","children":null,"spread":false},{"title":"25.txt <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"24.txt <span style='color:#111;'> 42B </span>","children":null,"spread":false},{"title":"16.txt <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"15.txt <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":"8.txt <span style='color:#111;'> 638B </span>","children":null,"spread":false},{"title":"20.txt <span style='color:#111;'> 208B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"bayes.py <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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