org.apache.mahout.math.hadoop
Class TransposeJob
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.mahout.common.AbstractJob
org.apache.mahout.math.hadoop.TransposeJob
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class TransposeJob
- extends AbstractJob
Transpose a matrix
Method Summary |
static org.apache.hadoop.conf.Configuration |
buildTransposeJobConf(org.apache.hadoop.conf.Configuration initialConf,
org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path matrixOutputPath,
int numInputRows)
|
static org.apache.hadoop.conf.Configuration |
buildTransposeJobConf(org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path matrixOutputPath,
int numInputRows)
|
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 |
NUM_ROWS_KEY
public static final String NUM_ROWS_KEY
- See Also:
- Constant Field Values
TransposeJob
public TransposeJob()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
run
public int run(String[] strings)
throws Exception
- Throws:
Exception
buildTransposeJobConf
public static org.apache.hadoop.conf.Configuration buildTransposeJobConf(org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path matrixOutputPath,
int numInputRows)
throws IOException
- Throws:
IOException
buildTransposeJobConf
public static org.apache.hadoop.conf.Configuration buildTransposeJobConf(org.apache.hadoop.conf.Configuration initialConf,
org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path matrixOutputPath,
int numInputRows)
throws IOException
- Throws:
IOException
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.