Skip to content

awnuxkjy/naive-bayesian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

naive-bayesian

naive bayesian java demo

NaiveBayesMain:主函数类 DefaultStopWordsHandler:单词停用处理类 MultinomialModelNaiveBayes:多项式朴素贝叶斯实现类 TrainSampleDataManager:训练样本管理器 训练样本采用了搜狗的mini版本,该文件已经放入在lib目录下。 中文分词采用es-ik进行分词。 使用的时候,在NaiveBayesMain类改变SAMPLE_DATA值即可。

详见:https://www.chepoo.com/naive-bayesian-text-classification-algorithm-java-implementation-2.html

About

naive bayesian java demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages