Apache Mahout 0.9 Installation on Ubuntu 14.04
Apache Mahout is a project of the Apache Software Foundation to produce free implementations of distributed or otherwise scalable machine learning algorithms focused primarily in the areas of collaborative filtering, clustering and classification. Many of the implementations use the Apache Hadoop platform. Mahout also provides Java libraries for common maths operations (focused on linear algebra and statistics) and primitive Java collections.
While Mahout's core algorithms for clustering, classification and batch based collaborative filtering are implemented on top of Apache Hadoop using the map/reduce paradigm, it does not restrict contributions to Hadoop-based implementations.
1) A machine with Ubuntu 14.04 LTS operating system.
2) Apcahe Hadoop pre installed (How to install Hadoop on Ubuntu 14.04)
3) Apcahe Mahout 0.9 software (Download Here)
Apache Mahout Installation
Apache Mahout is a highly scalable machine learning library that enables developers to use optimized algorithms. Mahout implements popular machine learning techniques such as recommendation, classification, and clustering.
Step 1 - Creating mahout directory. Open a terminal (CTRL + ALT + T) and type the following sudo command.
Step 2 - Change the ownership and permissions of the directory /usr/local/mahout. Here 'hduser' is an Ubuntu username.
Step 3 - Change the directory to /home/hduser/Desktop , In my case the downloaded mahout-distribution-0.9.tar.gz file is in /home/hduser/Desktop folder. For you it might be in /downloads folder check it.
Step 4 - Untar the mahout-distribution-0.9.tar.gz file.
Step 5 - Move the contents of mahout-distribution-0.9 folder to /usr/local/mahout
Add these libraries to your java project build path.
Please share this blog post and follow me for latest updates on
Previous Post Next Post