面向对象的贝叶斯垃圾邮件过滤?

时间:2020-03-05 18:37:30  来源:igfitidea点击:

我想知道是否存在用于垃圾邮件和文本分类的贝叶斯过滤的良好且干净的面向对象编程(OOP)实现?这只是出于学习目的。

解决方案

回答

也许https://ci-bayes.dev.java.net/或者http://www.cs.cmu.edu/~javabayes/Home/node2.html?

我也从未玩过。

回答

这是C#中的贝叶斯过滤的实现:用于C的朴素贝叶斯垃圾邮件过滤器(托管在CodeProject上)。

回答

法语,但我们应该可以找到下载链接:)
PHP朴素贝叶斯过滤器

回答

查阅《编程集体智慧》第6章

回答

我绝对推荐Weka,它是用Java编写的开源数据挖掘软件:

Weka is a collection of machine learning algorithms for data mining tasks. The algorithms can either be applied directly to a dataset or called from your own Java code. Weka contains tools for data pre-processing, classification, regression, clustering, association rules, and visualization. It is also well-suited for developing new machine learning schemes.

如上所述,它附带了许多不同的分类器,例如SVM,Winnow,C4.5,Naive Bayes(当然)以及更多分类器(请参阅API文档)。
请注意,在垃圾邮件检测或者文本分类领域,许多分类器的性能要比Naive Bayes好得多。

此外,Weka为我们带来了非常强大的GUI

回答

nBayes托管在CodePlex上的另一种实现