# mahout **Repository Path**: zhangminchen/mahout ## Basic Information - **Project Name**: mahout - **Description**: Mirror of Apache Mahout - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-23 - **Last Updated**: 2024-11-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Welcome to Apache Mahout! =========== The Apache Mahoutâ„¢ project's goal is to build an environment for quickly creating scalable performant machine learning applications. For additional information about Mahout, visit the [Mahout Home Page](http://mahout.apache.org/) ####Setting up your Environment Whether you are using Mahout's Shell, running command line jobs or using it as a library to build your own apps you'll need to setup several environment variables. Edit your environment in `~/.bash_profile` for Mac or `~/.bashrc` for many linux distributions. Add the following ``` export MAHOUT_HOME=/path/to/mahout export MAHOUT_LOCAL=true # for running standalone on your dev machine, # unset MAHOUT_LOCAL for running on a cluster ``` You will need a `$JAVA_HOME`, and if you are running on Spark, you will also need `$SPARK_HOME` Note when running the spark-shell job it can help to set some JVM options so you don't run out of memory: ``` $MAHOUT_OPTS="-Xmx6g -XX:MaxPermSize=512m" mahout spark-shell ``` ####Using Mahout as a Library Running any application that uses Mahout will require installing a binary or source version and setting the environment. To compile from source: * `mvn -DskipTests clean install` * To run tests do `mvn test` * To set up your IDE, do `mvn eclipse:eclipse` or `mvn idea:idea` To use maven, add the appropriate setting to your pom.xml or build.sbt following the template below. To use the Samsara environment you'll need to include both the engine neutral math-scala dependency: ``` org.apache.mahout mahout-math-scala_2.10 ${mahout.version} ``` and a dependency for back end engine translation, e.g: ``` org.apache.mahout mahout-spark_2.10 ${mahout.version} ``` ``` org.apache.mahout mahout-flink_2.10 ${mahout.version} ``` ####Examples For examples of how to use Mahout, see the examples directory located in `examples/bin` For information on how to contribute, visit the [How to Contribute Page](https://mahout.apache.org/developers/how-to-contribute.html) ####Legal Please see the `NOTICE.txt` included in this directory for more information. [![Build Status](https://api.travis-ci.org/apache/mahout.svg?branch=master)](https://travis-ci.org/apache/mahout) [![Coverage Status](https://coveralls.io/repos/github/apache/mahout/badge.svg?branch=master)](https://coveralls.io/github/apache/mahout?branch=master)