Note that there are some explanatory texts on larger screens.

plurals
  1. PORunning Mahout kMeans in local
    text
    copied!<p>I am running mahout kmeans by setting <code>MAHOUT_LOCAL="True"</code></p> <p>Below is the command i have in my shell script.</p> <p><code>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</code></p> <p>while running the script, i am getting below error</p> <pre><code>Unknown program 'kmeans' chosen. </code></pre> <p>Below is the log information:</p> <pre><code>MAHOUT_LOCAL is set, so we don't add HADOOP_CONF_DIR to classpath. MAHOUT_LOCAL is 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 for an explanation. log4j:WARN No appenders could be found for logger (org.apache.mahout.driver.MahoutDriver). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Unknown program 'kmeans' chosen. Valid program names are: arff.vector: : Generate Vectors from an ARFF file or directory baumwelch: : Baum-Welch algorithm for unsupervised HMM training cat: : Print a file or resource as the logistic regression models would see it hmmpredict: : Generate random sequence of observations by given HMM lucene.vector: : Generate Vectors from a Lucene index runAdaptiveLogistic: : Score new production data using a probably trained and validated AdaptivelogisticRegression model runlogistic: : Run a logistic regression model against CSV data seqwiki: : Wikipedia xml dump to sequence file svd: : Lanczos Singular Value Decomposition trainAdaptiveLogistic: : Train an AdaptivelogisticRegression model trainlogistic: : Train a logistic regression using stochastic gradient descent validateAdaptiveLogistic: : Validate an AdaptivelogisticRegression model against hold-out data set viterbi: : Viterbi decoding of hidden states from given output states sequence </code></pre> <p><br> What is causing this error ? </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload