简体   繁体   English

是否可以使用没有Hadoop依赖的apache mahout分类

[英]is it possible to use apache mahout classification without hadoop dependency

Is it possible to use Apache mahout classification without any dependency to Hadoop. 是否可以使用不依赖Hadoop的Apache mahout分类。 I would like to use the mahout algorithm on a single computer by only including the mahout library inside my Java project but i dont want to use hadoop at all since i will be running on a single node anyway, windows 7 operating system. 我只想在我的Java项目中包含mahout库,就想在一台计算机上使用mahout算法,但是我根本不想使用hadoop,因为我将始终在Windows 7操作系统的单个节点上运行。

Is that possible? 那可能吗? If yes , which algorithm run without hadoop dependency? 如果是,则哪种算法在没有hadoop依赖的情况下运行?

Thank you in advanced 谢谢高级

Yes, it is possible to run Mahout without having to install a Hadoop cluster. 是的,无需安装Hadoop集群即可运行Mahout。 All you need to do is set the environment variable 您需要做的就是设置环境变量

MAHOUT_LOCAL=TRUE

On seeing this variable, Mahout will start interacting directly with the file system for data, etc. without trying to look for a Hadoop cluster or a HDFS location. 看到此变量后,Mahout将开始直接与文件系统进行数据等交互,而无需尝试寻找Hadoop群集或HDFS位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM