Mahout: build 0.9 from source code and eclipse env setup

1.# svn co http://svn.apache.org/repos/asf/mahout/trunk

or download mahout-distribution-0.9-src.tar.gz

2.mvn -DskipTests clean install package

3.create a common java project which using mahout.

4.configure build path. add external jars in mahout-distribution-0.9/examples/target/dependency dir

-------

Import mahout projects to eclipse

1.#cd  /path/to/mahout0.9

2.#mvn eclipse:eclipse

3.eclipse import ...  select /path/to/mahout0.9

References

http://bigdatacircus.com/2012/09/13/mahout-setting-up-and-building-mahout-a-walkthrough/

https://shuyo.wordpress.com/page/4/

 http://stackoverflow.com/questions/6643761/question-on-converting-maven-project-of-mahout-into-eclipse-project

Data

 http://grouplens.org/datasets/movielens/

Books

<<Mahout In Action>>

<<Apache Mahout Cookbook>>

http://dl.ebooks-it.org/e-books/packt/Packt.Apache.Mahout.Cookbook.Dec.2013.ISBN.1849518025.pdf

source code for <<mahout In Action>> is attachment 1 while sample data used in this book attachment 2.

猜你喜欢

转载自ylzhj02.iteye.com/blog/2053903