O'Reilly logo

Building Recommendation Engines by Suresh Kumar Gorakala

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up Mahout

In this section, we shall look at setting up Mahout in standalone and distributed mode.

The standalone mode - using Mahout as a library

The standalone mode of Mahout usually involves two steps:

  • Adding Mahout libraries to the Java application that wants to use the Mahout capabilities
  • Calling Mahout recommendation engine functions to build the recommender application

Running an application that uses Mahout requires the following dependencies to be added to the pom.xml file of your Java Maven project:

The standalone mode - using Mahout as a library

The preceding dependencies will download all the required jars or libraries required to run the Mahout functionalities, as shown in the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required