[
https://issues.apache.org/jira/browse/MAHOUT-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
tommy chheng updated MAHOUT-390:
--------------------------------
Status: Patch Available (was: Open)
Affects Version/s: 0.4
The last line in the script gave an error:
../bin/mahout kmeans -i ./work/reuters-out-seqdir-sparse/tfidf/vectors/ -c
./work/clusters -o ./work/reuters-kmeans -k 20 -w
org.apache.commons.cli2.OptionException: Unexpected -w while processing Options
Removing the -w and adding the -maxIter fixes it.
../bin/mahout kmeans -i ./work/reuters-out-seqdir-sparse/tfidf-vectors/ -c
./work/clusters -o ./work/reuters-kmeans -k 20 --maxIter 20
> Quickstart script for kmeans algorithm
> --------------------------------------
>
> Key: MAHOUT-390
> URL: https://issues.apache.org/jira/browse/MAHOUT-390
> Project: Mahout
> Issue Type: Improvement
> Components: Utils
> Affects Versions: 0.4
> Reporter: Sisir Koppaka
> Attachments: quickstart-kmeans.sh
>
>
> Contains a quickstart shell script for kmeans algorithm on the Reuters
> dataset as described at https://cwiki.apache.org/MAHOUT/k-means.html
> The script in JIRA is a slightly modified and cleaner version.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.