public final class TimesSquaredJob extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TimesSquaredJob.TimesMapper |
static class |
TimesSquaredJob.TimesSquaredMapper<T extends org.apache.hadoop.io.WritableComparable> |
static class |
TimesSquaredJob.VectorSummingReducer |
Modifier and Type | Field and Description |
---|---|
static String |
INPUT_VECTOR |
static String |
IS_SPARSE_OUTPUT |
static String |
OUTPUT_VECTOR_DIMENSION |
static String |
OUTPUT_VECTOR_FILENAME |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.mapreduce.Job |
createTimesJob(org.apache.hadoop.conf.Configuration initialConf,
Vector v,
int outDim,
org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path outputVectorPath) |
static org.apache.hadoop.mapreduce.Job |
createTimesJob(Vector v,
int outDim,
org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path outputVectorPath) |
static org.apache.hadoop.mapreduce.Job |
createTimesSquaredJob(org.apache.hadoop.conf.Configuration initialConf,
Vector v,
int outputVectorDim,
org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path outputVectorPathBase,
Class<? extends TimesSquaredJob.TimesSquaredMapper> mapClass,
Class<? extends TimesSquaredJob.VectorSummingReducer> redClass) |
static org.apache.hadoop.mapreduce.Job |
createTimesSquaredJob(org.apache.hadoop.conf.Configuration initialConf,
Vector v,
org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path outputVectorPath) |
static org.apache.hadoop.mapreduce.Job |
createTimesSquaredJob(org.apache.hadoop.conf.Configuration initialConf,
Vector v,
org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path outputVectorPathBase,
Class<? extends TimesSquaredJob.TimesSquaredMapper> mapClass,
Class<? extends TimesSquaredJob.VectorSummingReducer> redClass) |
static org.apache.hadoop.mapreduce.Job |
createTimesSquaredJob(Vector v,
int outputVectorDim,
org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path outputVectorPathBase,
Class<? extends TimesSquaredJob.TimesSquaredMapper> mapClass,
Class<? extends TimesSquaredJob.VectorSummingReducer> redClass) |
static org.apache.hadoop.mapreduce.Job |
createTimesSquaredJob(Vector v,
org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path outputVectorPath) |
static org.apache.hadoop.mapreduce.Job |
createTimesSquaredJob(Vector v,
org.apache.hadoop.fs.Path matrixInputPath,
org.apache.hadoop.fs.Path outputVectorPathBase,
Class<? extends TimesSquaredJob.TimesSquaredMapper> mapClass,
Class<? extends TimesSquaredJob.VectorSummingReducer> redClass) |
static Vector |
retrieveTimesSquaredOutputVector(org.apache.hadoop.fs.Path outputVectorTmpPath,
org.apache.hadoop.conf.Configuration conf) |
public static final String INPUT_VECTOR
public static final String IS_SPARSE_OUTPUT
public static final String OUTPUT_VECTOR_DIMENSION
public static final String OUTPUT_VECTOR_FILENAME
public static org.apache.hadoop.mapreduce.Job createTimesSquaredJob(Vector v, org.apache.hadoop.fs.Path matrixInputPath, org.apache.hadoop.fs.Path outputVectorPath) throws IOException
IOException
public static org.apache.hadoop.mapreduce.Job createTimesSquaredJob(org.apache.hadoop.conf.Configuration initialConf, Vector v, org.apache.hadoop.fs.Path matrixInputPath, org.apache.hadoop.fs.Path outputVectorPath) throws IOException
IOException
public static org.apache.hadoop.mapreduce.Job createTimesJob(Vector v, int outDim, org.apache.hadoop.fs.Path matrixInputPath, org.apache.hadoop.fs.Path outputVectorPath) throws IOException
IOException
public static org.apache.hadoop.mapreduce.Job createTimesJob(org.apache.hadoop.conf.Configuration initialConf, Vector v, int outDim, org.apache.hadoop.fs.Path matrixInputPath, org.apache.hadoop.fs.Path outputVectorPath) throws IOException
IOException
public static org.apache.hadoop.mapreduce.Job createTimesSquaredJob(Vector v, org.apache.hadoop.fs.Path matrixInputPath, org.apache.hadoop.fs.Path outputVectorPathBase, Class<? extends TimesSquaredJob.TimesSquaredMapper> mapClass, Class<? extends TimesSquaredJob.VectorSummingReducer> redClass) throws IOException
IOException
public static org.apache.hadoop.mapreduce.Job createTimesSquaredJob(org.apache.hadoop.conf.Configuration initialConf, Vector v, org.apache.hadoop.fs.Path matrixInputPath, org.apache.hadoop.fs.Path outputVectorPathBase, Class<? extends TimesSquaredJob.TimesSquaredMapper> mapClass, Class<? extends TimesSquaredJob.VectorSummingReducer> redClass) throws IOException
IOException
public static org.apache.hadoop.mapreduce.Job createTimesSquaredJob(Vector v, int outputVectorDim, org.apache.hadoop.fs.Path matrixInputPath, org.apache.hadoop.fs.Path outputVectorPathBase, Class<? extends TimesSquaredJob.TimesSquaredMapper> mapClass, Class<? extends TimesSquaredJob.VectorSummingReducer> redClass) throws IOException
IOException
public static org.apache.hadoop.mapreduce.Job createTimesSquaredJob(org.apache.hadoop.conf.Configuration initialConf, Vector v, int outputVectorDim, org.apache.hadoop.fs.Path matrixInputPath, org.apache.hadoop.fs.Path outputVectorPathBase, Class<? extends TimesSquaredJob.TimesSquaredMapper> mapClass, Class<? extends TimesSquaredJob.VectorSummingReducer> redClass) throws IOException
IOException
public static Vector retrieveTimesSquaredOutputVector(org.apache.hadoop.fs.Path outputVectorTmpPath, org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.