org.apache.mahout.cf.taste.hadoop.item
Class RecommenderJob

java.lang.Object
  extended by org.apache.mahout.cf.taste.hadoop.AbstractJob
      extended by org.apache.mahout.cf.taste.hadoop.item.RecommenderJob
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public final class RecommenderJob
extends AbstractJob

Runs a completely distributed recommender job as a series of mapreduces.

Command line arguments are:

  1. numRecommendations: Number of recommendations to compute per user (optional; default 10)
  2. input: Directory containing a text file containing user IDs for which recommendations should be computed, one per line
  3. output: output path where recommender output should go
  4. jarFile: JAR file containing implementation code
  5. tempDir: directory in which to place intermediate data files (optional; default "temp")
  6. usersFile: file containing user IDs to recommend for (optional)

See Also:
RecommenderJob

Constructor Summary
RecommenderJob()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 int run(java.lang.String[] args)
           
 
Methods inherited from class org.apache.mahout.cf.taste.hadoop.AbstractJob
buildOption, buildOption, getConf, maybePut, parseArguments, prepareJobConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecommenderJob

public RecommenderJob()
Method Detail

run

public int run(java.lang.String[] args)
        throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.