public final class Job extends AbstractJob
argMap, inputFile, inputPath, outputFile, outputPath, tempPath
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static void |
run(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.Path input,
org.apache.hadoop.fs.Path output,
DistanceMeasure measure,
double t1,
double t2,
int maxIterations,
float fuzziness,
double convergenceDelta)
Run the kmeans clustering job on an input dataset using the given distance measure, t1, t2 and iteration
parameters.
|
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 void run(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path input, org.apache.hadoop.fs.Path output, DistanceMeasure measure, double t1, double t2, int maxIterations, float fuzziness, double convergenceDelta) throws Exception
input
- the String denoting the input directory pathoutput
- the String denoting the output directory patht1
- the canopy T1 thresholdt2
- the canopy T2 thresholdmaxIterations
- the int maximum number of iterationsfuzziness
- the float "m" fuzziness coefficientconvergenceDelta
- the double convergence criteria for iterationsException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.