TwentyNewsgroups (MAHOUT) created by Grant Ingersoll http://cwiki.apache.org/confluence/display/MAHOUT/TwentyNewsgroups
Content: --------------------------------------------------------------------- h1. Twenty Newsgroups Classification [Get Mahout|http://cwiki.apache.org/confluence/display/MAHOUT/index#index-Installation%2FSetup] Assume MAHOUT_HOME refers to the location where you checked out/installed Mahout After downloading the distribution, unzip/untar it into the directory of your choice and do: Training: # cd examples # ant get-files # ant job Then, from Hadoop: Test Classifier: # emacs conf/hadoop-site.xml (add in local settings per quickstart) # bin/hadoop namenode -format //Format the HDFS # bin/start-all.sh //Start Hadoop # bin/hadoop dfs -put <MAHOUT_HOME>/work/20news-18828-collapse 20newsInput //Copies the extracted text to HDFS # bin/hadoop jar <MAHOUT_HOME>/build/apache-mahout-0.1-dev-examples.jar org.apache.mahout.examples.classifiers.cbayes.TwentyNewsgroups -t -i 20newsInput -o 20newsOutput --------------------------------------------------------------------- CONFLUENCE INFORMATION This message is automatically generated by Confluence Unsubscribe or edit your notifications preferences http://cwiki.apache.org/confluence/users/viewnotifications.action If you think it was sent incorrectly contact one of the administrators http://cwiki.apache.org/confluence/administrators.action If you want more information on Confluence, or have a bug to report see http://www.atlassian.com/software/confluence
