[英]Mahout Naive Bayes CSV Classification
I have these 2 CSV files: 我有这2个CSV文件:
Both of them are in the same structure (with different content) and similar to this example : 它们都具有相同的结构(具有不同的内容)并且与此示例类似:
Each column is a feature and the last column - class
, is the name of the class to predict. 每列都是一个要素,最后一列 - class
,是要预测的类的名称。
. 。
Can anyone please provide a sample code for: 任何人都可以提供以下示例代码:
Thanks! 谢谢!
. 。
. 。
BTW - BTW -
I'm using Mahout 0.9
and Hadoop 2.4
and iv'e already tried to follow these links: 我正在使用Mahout 0.9
和Hadoop 2.4
并且我们已经尝试过以下链接:
http://web.archiveorange.com/archive/v/y0uRZw9Q4iHdjrm4Rfsu http://chimpler.wordpress.com/2013/03/13/using-the-mahout-naive-bayes-classifier-to-automatically-classify-twitter-messages/ http://web.archiveorange.com/archive/v/y0uRZw9Q4iHdjrm4Rfsu http://chimpler.wordpress.com/2013/03/13/using-the-mahout-naive-bayes-classifier-to-automatically-classify-twitter -messages /
. 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.