Running Mahout kMeans in local -
i running mahout kmeans setting mahout_local="true"
below command have in shell script.
mahout kmeans --input ./seq_input/ --output ./output --numclusters 4 --maxiter 10 --convergencedelta .0001 --clustering --distancemeasure org.apache.mahout.common.distance.cosinedistancemeasure --overwrite --clusters ./centroid_vectors
while running script, getting below error
unknown program 'kmeans' chosen.
below log information:
mahout_local set, don't add hadoop_conf_dir classpath. mahout_local set, running locally slf4j: class path contains multiple slf4j bindings. slf4j: found binding in [jar:file:/usr/lib/mahout/mahout-examples-0.7-cdh4.3.0-job.jar!/org/slf4j/impl/staticloggerbinder.class] slf4j: found binding in [jar:file:/usr/lib/mahout/lib/slf4j-jcl-1.6.1.jar!/org/slf4j/impl/staticloggerbinder.class] slf4j: see http://www.slf4j.org/codes.html#multiple_bindings explanation. log4j:warn no appenders found logger (org.apache.mahout.driver.mahoutdriver). log4j:warn please initialize log4j system properly. log4j:warn see http://logging.apache.org/log4j/1.2/faq.html#noconfig more info. unknown program 'kmeans' chosen. valid program names are: arff.vector: : generate vectors arff file or directory baumwelch: : baum-welch algorithm unsupervised hmm training cat: : print file or resource logistic regression models see hmmpredict: : generate random sequence of observations given hmm lucene.vector: : generate vectors lucene index runadaptivelogistic: : score new production data using trained , validated adaptivelogisticregression model runlogistic: : run logistic regression model against csv data seqwiki: : wikipedia xml dump sequence file svd: : lanczos singular value decomposition trainadaptivelogistic: : train adaptivelogisticregression model trainlogistic: : train logistic regression using stochastic gradient descent validateadaptivelogistic: : validate adaptivelogisticregression model against hold-out data set viterbi: : viterbi decoding of hidden states given output states sequence
causing error ?
Comments
Post a Comment