public final class RepresentativePointsDriver extends AbstractJob
Modifier and Type | Field and Description |
---|---|
static String |
DISTANCE_MEASURE_KEY |
static String |
STATE_IN_KEY |
argMap, inputFile, inputPath, outputFile, outputPath, tempPath
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static void |
printRepresentativePoints(org.apache.hadoop.fs.Path output,
int numIterations)
Utility to print out representative points
|
static void |
run(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path clustersIn,
org.apache.hadoop.fs.Path clusteredPointsIn,
org.apache.hadoop.fs.Path output,
DistanceMeasure measure,
int numIterations,
boolean runSequential) |
int |
run(String[] args) |
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
public static final String STATE_IN_KEY
public static final String DISTANCE_MEASURE_KEY
public int run(String[] args) throws ClassNotFoundException, IOException, InterruptedException
public static void printRepresentativePoints(org.apache.hadoop.fs.Path output, int numIterations)
output
- the Path to the directory containing representativePoints-i foldersnumIterations
- the int number of iterations to printpublic static void run(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path clustersIn, org.apache.hadoop.fs.Path clusteredPointsIn, org.apache.hadoop.fs.Path output, DistanceMeasure measure, int numIterations, boolean runSequential) throws IOException, InterruptedException, ClassNotFoundException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.