org.apache.mahout.cf.taste.hadoop.cooccurence
Class ItemBigramGenerator

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.mahout.cf.taste.hadoop.cooccurence.ItemBigramGenerator
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public final class ItemBigramGenerator
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool


Nested Class Summary
static class ItemBigramGenerator.UserItemMapper
           
static class ItemBigramGenerator.UserItemReducer
           
 
Constructor Summary
ItemBigramGenerator()
           
 
Method Summary
 org.apache.hadoop.mapred.JobConf prepareJob(java.lang.String inputPaths, org.apache.hadoop.fs.Path outputPath, int reducers)
           
 int run(java.lang.String[] args)
           
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Constructor Detail

ItemBigramGenerator

public ItemBigramGenerator()
Method Detail

prepareJob

public org.apache.hadoop.mapred.JobConf prepareJob(java.lang.String inputPaths,
                                                   org.apache.hadoop.fs.Path outputPath,
                                                   int reducers)

run

public int run(java.lang.String[] args)
        throws java.io.IOException
Specified by:
run in interface org.apache.hadoop.util.Tool
Throws:
java.io.IOException


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