## org.apache.mahout.common.commandline
Class DefaultOptionCreator

    java.lang.Object
      org.apache.mahout.common.commandline.DefaultOptionCreator

    public final class DefaultOptionCreator

extends Object

Field Summary
`static String` `ANALYZER_NAME_OPTION`
`static String` `CLUSTER_FILTER_OPTION`
`static String` `CLUSTERING_OPTION`
`static String` `CLUSTERS_IN_OPTION`
`static String` `CONVERGENCE_DELTA_OPTION`
`static String` `DISTANCE_MEASURE_OPTION`
`static String` `EMIT_MOST_LIKELY_OPTION`
`static String` `INPUT_OPTION`
`static String` `KERNEL_PROFILE_OPTION`
`static String` `MAPREDUCE_METHOD`
`static String` `MAX_ITERATIONS_OPTION`
`static String` `MAX_REDUCERS_OPTION`
`static String` `METHOD_OPTION`
`static String` `NUM_CLUSTERS_OPTION`
`static String` `OUTLIER_THRESHOLD`
`static String` `OUTPUT_OPTION`
`static String` `OVERWRITE_OPTION`
`static String` `SEQUENTIAL_METHOD`
`static String` `T1_OPTION`
`static String` `T2_OPTION`
`static String` `T3_OPTION`
`static String` `T4_OPTION`
`static String` `THRESHOLD_OPTION`

Method Summary
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `analyzerOption()` Returns a default command line option for specifying a Lucene analyzer class
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `clusterFilterOption()`
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `clusteringOption()` Returns a default command line option for clustering specification.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `clustersInOption()` Returns a default command line option for clusters input directory specification.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `convergenceOption()` Returns a default command line option for convergence delta specification.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `distanceMeasureOption()` Returns a default command line option for specification of distance measure class to use.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `emitMostLikelyOption()` Returns a default command line option for specifying the emitMostLikely flag.
`static org.apache.commons.cli2.Option` `helpOption()` Returns a default command line option for help.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `inputOption()` Returns a default command line option for input directory specification.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `kernelProfileOption()`
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `maxIterationsOption()` Returns a default command line option for specification of max number of iterations.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `methodOption()` Returns a default command line option for specification of sequential or parallel operation.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `numClustersOption()` Returns a default command line option for specification of numbers of clusters to create.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `numReducersOption()` Deprecated.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `outlierThresholdOption()` Returns a default command line option for specification of OUTLIER THRESHOLD value.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `outputOption()` Returns a default command line option for output directory specification.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `overwriteOption()` Returns a default command line option for output directory overwriting.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `t1Option()` Returns a default command line option for specification of T1.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `t2Option()` Returns a default command line option for specification of T2.
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `t3Option()` Returns a default command line option for specification of T3 (Reducer T1).
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `t4Option()` Returns a default command line option for specification of T4 (Reducer T2).
`static org.apache.commons.cli2.builder.DefaultOptionBuilder` `thresholdOption()` Returns a default command line option for specifying the clustering threshold value.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### CLUSTERING_OPTION

    public static final String CLUSTERING_OPTION

See Also:
  Constant Field Values

### CLUSTERS_IN_OPTION

    public static final String CLUSTERS_IN_OPTION

See Also:
  Constant Field Values

### CONVERGENCE_DELTA_OPTION

    public static final String CONVERGENCE_DELTA_OPTION

See Also:
  Constant Field Values

### DISTANCE_MEASURE_OPTION

    public static final String DISTANCE_MEASURE_OPTION

See Also:
  Constant Field Values

### EMIT_MOST_LIKELY_OPTION

    public static final String EMIT_MOST_LIKELY_OPTION

See Also:
  Constant Field Values

### INPUT_OPTION

    public static final String INPUT_OPTION

See Also:
  Constant Field Values

### MAX_ITERATIONS_OPTION

    public static final String MAX_ITERATIONS_OPTION

See Also:
  Constant Field Values

### MAX_REDUCERS_OPTION

    public static final String MAX_REDUCERS_OPTION

See Also:
  Constant Field Values

### METHOD_OPTION

    public static final String METHOD_OPTION

See Also:
  Constant Field Values

### NUM_CLUSTERS_OPTION

    public static final String NUM_CLUSTERS_OPTION

See Also:
  Constant Field Values

### OUTPUT_OPTION

    public static final String OUTPUT_OPTION

See Also:
  Constant Field Values

### OVERWRITE_OPTION

    public static final String OVERWRITE_OPTION

See Also:
  Constant Field Values

### T1_OPTION

    public static final String T1_OPTION

See Also:
  Constant Field Values

### T2_OPTION

    public static final String T2_OPTION

See Also:
  Constant Field Values

### T3_OPTION

    public static final String T3_OPTION

See Also:
  Constant Field Values

### T4_OPTION

    public static final String T4_OPTION

See Also:
  Constant Field Values

### OUTLIER_THRESHOLD

    public static final String OUTLIER_THRESHOLD

See Also:
  Constant Field Values

### CLUSTER_FILTER_OPTION

    public static final String CLUSTER_FILTER_OPTION

See Also:
  Constant Field Values

### THRESHOLD_OPTION

    public static final String THRESHOLD_OPTION

See Also:
  Constant Field Values

### SEQUENTIAL_METHOD

    public static final String SEQUENTIAL_METHOD

See Also:
  Constant Field Values

### MAPREDUCE_METHOD

    public static final String MAPREDUCE_METHOD

See Also:
  Constant Field Values

### KERNEL_PROFILE_OPTION

    public static final String KERNEL_PROFILE_OPTION

See Also:
  Constant Field Values

### ANALYZER_NAME_OPTION

    public static final String ANALYZER_NAME_OPTION

See Also:
  Constant Field Values

Method Detail

### helpOption

    public static org.apache.commons.cli2.Option helpOption()

  Returns a default command line option for help. Used by all clustering jobs and many others

### inputOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder inputOption()

  Returns a default command line option for input directory specification. Used by all clustering jobs plus others

### clustersInOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder clustersInOption()

  Returns a default command line option for clusters input directory specification. Used by FuzzyKmeans, Kmeans

### outputOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder outputOption()

  Returns a default command line option for output directory specification. Used by all clustering jobs plus others

### overwriteOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder overwriteOption()

  Returns a default command line option for output directory overwriting. Used by all clustering jobs

### distanceMeasureOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder distanceMeasureOption()

  Returns a default command line option for specification of distance measure class to use. Used by Canopy, FuzzyKmeans, Kmeans, MeanShift

### methodOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder methodOption()

  Returns a default command line option for specification of sequential or parallel operation. Used by Canopy, FuzzyKmeans, Kmeans, MeanShift, Dirichlet

### t1Option

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder t1Option()

  Returns a default command line option for specification of T1. Used by Canopy, MeanShift

### t2Option

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder t2Option()

  Returns a default command line option for specification of T2. Used by Canopy, MeanShift

### t3Option

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder t3Option()

  Returns a default command line option for specification of T3 (Reducer T1). Used by Canopy

### t4Option

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder t4Option()

  Returns a default command line option for specification of T4 (Reducer T2). Used by Canopy

### clusterFilterOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder clusterFilterOption()

  Returns:
    a DefaultOptionBuilder for the clusterFilter option

### maxIterationsOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder maxIterationsOption()

  Returns a default command line option for specification of max number of iterations. Used by Dirichlet, FuzzyKmeans, Kmeans, LDA

### numClustersOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder numClustersOption()

  Returns a default command line option for specification of numbers of clusters to create. Used by Dirichlet, FuzzyKmeans, Kmeans

### convergenceOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder convergenceOption()

  Returns a default command line option for convergence delta specification. Used by FuzzyKmeans, Kmeans, MeanShift

### numReducersOption

    @Deprecated
    public static org.apache.commons.cli2.builder.DefaultOptionBuilder numReducersOption()

  Deprecated.

  Returns a default command line option for specifying the max number of reducers. Used by Dirichlet, FuzzyKmeans, Kmeans and LDA

### clusteringOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder clusteringOption()

  Returns a default command line option for clustering specification. Used by all clustering except LDA

### analyzerOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder analyzerOption()

  Returns a default command line option for specifying a Lucene analyzer class

  Returns:
    `DefaultOptionBuilder`

### emitMostLikelyOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder emitMostLikelyOption()

  Returns a default command line option for specifying the emitMostLikely flag. Used by Dirichlet and FuzzyKmeans

### thresholdOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder thresholdOption()

  Returns a default command line option for specifying the clustering threshold value. Used by Dirichlet and FuzzyKmeans

### kernelProfileOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder kernelProfileOption()

### outlierThresholdOption

    public static org.apache.commons.cli2.builder.DefaultOptionBuilder outlierThresholdOption()

  Returns a default command line option for specification of OUTLIER THRESHOLD value. Used for Cluster Classification.

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