org.apache.mahout.math.hadoop
Class MatrixMultiplicationJob

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.mahout.common.AbstractJob
          extended by org.apache.mahout.math.hadoop.MatrixMultiplicationJob
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

public class MatrixMultiplicationJob
extends AbstractJob


Nested Class Summary
static class MatrixMultiplicationJob.MatrixMultiplicationReducer
           
static class MatrixMultiplicationJob.MatrixMultiplyMapper
           
 
Field Summary
 
Fields inherited from class org.apache.mahout.common.AbstractJob
argMap, inputFile, inputPath, outputFile, outputPath, tempPath
 
Constructor Summary
MatrixMultiplicationJob()
           
 
Method Summary
static org.apache.hadoop.conf.Configuration createMatrixMultiplyJobConf(org.apache.hadoop.conf.Configuration initialConf, org.apache.hadoop.fs.Path aPath, org.apache.hadoop.fs.Path bPath, org.apache.hadoop.fs.Path outPath, int outCardinality)
           
static org.apache.hadoop.conf.Configuration createMatrixMultiplyJobConf(org.apache.hadoop.fs.Path aPath, org.apache.hadoop.fs.Path bPath, org.apache.hadoop.fs.Path outPath, int outCardinality)
           
static void main(String[] args)
           
 int run(String[] strings)
           
 
Methods inherited from class org.apache.mahout.common.AbstractJob
addFlag, addInputOption, addOption, addOption, addOption, addOption, addOutputOption, buildOption, buildOption, getAnalyzerClassFromOption, getCLIOption, getConf, getDimensions, getFloat, getFloat, getGroup, getInputFile, getInputPath, getInt, getInt, getOption, getOption, getOption, getOptions, getOutputFile, getOutputPath, getOutputPath, getTempPath, getTempPath, hasOption, keyFor, maybePut, parseArguments, parseArguments, parseDirectories, prepareJob, prepareJob, prepareJob, prepareJob, setConf, setS3SafeCombinedInputPath, shouldRunNextPhase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatrixMultiplicationJob

public MatrixMultiplicationJob()
Method Detail

createMatrixMultiplyJobConf

public static org.apache.hadoop.conf.Configuration createMatrixMultiplyJobConf(org.apache.hadoop.fs.Path aPath,
                                                                               org.apache.hadoop.fs.Path bPath,
                                                                               org.apache.hadoop.fs.Path outPath,
                                                                               int outCardinality)

createMatrixMultiplyJobConf

public static org.apache.hadoop.conf.Configuration createMatrixMultiplyJobConf(org.apache.hadoop.conf.Configuration initialConf,
                                                                               org.apache.hadoop.fs.Path aPath,
                                                                               org.apache.hadoop.fs.Path bPath,
                                                                               org.apache.hadoop.fs.Path outPath,
                                                                               int outCardinality)

main

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

run

public int run(String[] strings)
        throws Exception
Throws:
Exception


Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.