Run Mahout Examples

Prerequisites

After installation, the Mahout executable is located in $MAHOUT_HOME/bin where MAHOUT_HOME is /opt/mapr/mahout/mahout-<version>.

About this task

To see the sample applications bundled with Mahout, execute the following command:
$ ls $MAHOUT_HOME/examples/bin
To run the Twenty Newsgroups Classification Example, execute the following commands:
$ cd $MAHOUT_HOME
$ ./examples/bin/classify-20newsgroups.sh

The output from this example may look similar to the following:

What to do next

For additional Mahout documentation, see the Apache Mahout website.