Apache Mahout Installation and Examples
Pre requisites Java ( jdk version ) Maven( version 3.0 or higher ) Mahout ( Download or svn repository ) Hadoop( )
Java Installation 1.In Ubantu Terminal sudo apt-get update sudo apt-get install default-jre sudo apt-get install default-jdk Java -version
Maven Installation 1.In Ubantu Terminal sudo apt-get install maven 2. Verify the Installation mvn -v
Svn Installation 1.In Ubantu Terminal sudo apt-get install subversion 1.2. Verify the Installation svn --version
Mahout Installation 1.Hadoop installation is neccessory 2.In Ubantu Terminal sudo mkdir mahout cd mahout 2. Download the file using svn repository svn co
Mahout Installation 1.Build mahout using mvn mvn –DskipTests install
Kmeans Example Accepts clustering type: kmeans, fuzzykmeans, lda, or streamingkmeans
Kmeans Example Input Gets the Reuters dataset
Kmeans Example Input
Kmeans Example Runs org.apache.lucene.benchmark.utils.ExtractReuters to generate reuters-out from reuters-sgm (the downloaded archive)
Kmeans Example Runs org.apache.lucene.benchmark.utils.ExtractReuters to generate reuters-out from reuters-sgm (the downloaded archive)
Kmeans Example
Hanged since 1 days
Clustering Example K-means
Thank You !!!