Looking for open source naive Bayesian Classifier in C# for a Twitter sentiment analysis project [closed]

落爺英雄遲暮 提交于 2019-12-05 15:44:33

问题


I've found a similar project here: Sentiment analysis for Twitter in Python . However, I'm working on C# and need to use a naive Bayesian Classifier that is open source in the same language. Unless someone can shed light on how I can utilize a python Bayesian Classifier to achieve the same goals. Any ideas?


回答1:


I successfully used the code from this CodeProject article in a project a few years ago and it's still working beautifully with ~99% accuracy.




回答2:


If you don't strictly need naive Bayes, I would suggest libshogun. It has a huge number of high-quality classifiers, and it apparently has been successfully built for win32 on cygwin. After that's built you can just p/invoke to the DLLs from C#. I think you will find it difficult to find a classifier library written in C# due to the often performance-heavy nature of classification, so your best bet is to call a native library such as this.




回答3:


This might be something to look at:

https://github.com/joelmartinez/nBayes

https://github.com/joelmartinez/nBayes/wiki



来源:https://stackoverflow.com/questions/3724472/looking-for-open-source-naive-bayesian-classifier-in-c-sharp-for-a-twitter-senti

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!