org.apache.mahout.classifier.email
Class PrepEmailVectorsDriver
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.mahout.common.AbstractJob
org.apache.mahout.classifier.email.PrepEmailVectorsDriver
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class PrepEmailVectorsDriver
- extends AbstractJob
Convert the labels generated by SequenceFilesFromMailArchives
and
SparseVectorsFromSequenceFiles
to ones consumable by the classifiers. We do this
here b/c if it is done in the creation of sparse vectors, the Reducer collapses all the vectors.
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 |
ITEMS_PER_CLASS
public static final String ITEMS_PER_CLASS
- See Also:
- Constant Field Values
USE_LIST_NAME
public static final String USE_LIST_NAME
- See Also:
- Constant Field Values
PrepEmailVectorsDriver
public PrepEmailVectorsDriver()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
run
public int run(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.