Hi all,
Has anyone else has the problem that when they try to run the
testclassifier on trunk that it spits out the help screen even if you
fill in all of the possible options?
nber9%> mahout testclassifier --classifierType bayes -m ml_model -d ml
-source hdfs -ng 1 --defaultCat unknown -method sequential -encoding
UTF-8-a 1.0
Running on hadoop, using HADOOP_HOME=/homes/nber/ravivmg/hadoop
No HADOOP_CONF_DIR set, using /homes/nber/ravivmg/hadoop/conf
Usage:
[--defaultCat <defaultCat> --testDir <testDir> --encoding <encoding>
--gramSize <gramSize> --model <model> --classifierType <classifierType>
--dataSource <dataSource> --help --method <method> --verbose --alpha
<a>]
Options
--defaultCat (-default) defaultCat The default category
Default
Value: unknown
--testDir (-d) testDir The directory where test
documents
resides in
--encoding (-e) encoding The file encoding.
Defaults to
UTF-8
--gramSize (-ng) gramSize Size of the n-gram.
Default Value:
1
--model (-m) model The path on HDFS / Name
of Hbase
Table as defined by the -
source
parameter
--classifierType (-type) classifierType Type of classifier:
bayes|cbayes.
Default Value: bayes
--dataSource (-source) dataSource Location of model: hdfs|
hbase
Default Value: hdfs
--help (-h) Print out help
--method (-method) method Method of Classification:
sequential|mapreduce.
Default
Value: sequential
--verbose (-v) Output which values were
correctly
and incorrectly classified
--alpha (-a) a Smoothing parameter
Default Value:
1.0
10/09/29 14:26:20 INFO driver.MahoutDriver: Program took 114 ms