在Ruby中实现贝叶斯分类器? [英] Implementing Bayesian classifier in Ruby?

查看:113
本文介绍了在Ruby中实现贝叶斯分类器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现一个简单的贝叶斯分类系统,对短信进行基本情感分析.欢迎在Ruby中实施的实用建议.除了贝叶斯以外,其他方法的建议也将受到欢迎.

解决方案

Ilya Grigorik在 ai4r ruby​​gem ,以了解贝叶斯分类器的一些替代方法./p>

ID3是一个不错的选择,因为它提供了决策树,即使对机器学习技术没有任何真正了解的人也可以理解".

I would like to implement a simple Bayesian classification system to do rudimentary sentiment analysis on short messages. Practical suggestions for implementing in Ruby would be welcome. Suggestions for other approaches besides Bayes would also be welcome.

解决方案

Ilya Grigorik has a nice answer to this problem over on this blog post on Bayesian Classifiers

Additionally, you may wish to take a look at the ai4r rubygem for some alternates to Bayesian Classifiers.

ID3 is a good choice because it gives a decision tree that is "understandable" to even someone without any real understanding of machine learning techniques.

这篇关于在Ruby中实现贝叶斯分类器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆