[ 
https://issues.apache.org/jira/browse/MAHOUT-138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757119#action_12757119
 ] 

Isabel Drost commented on MAHOUT-138:
-------------------------------------

Added changes to cli for FuzzyKMeans, Dirichlet and MeanShiftCanopy (see below 
for exact classes). Added documentation to the wiki (see links to command line 
client documentation at 
http://cwiki.apache.org/confluence/display/MAHOUT/ClusteringYourData ) 

./core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansJob.java
 
./core/src/main/java/org/apache/mahout/clustering/dirichlet/DirichletJob.java 
./core/src/main/java/org/apache/mahout/clustering/dirichlet/DirichletDriver.java
 
./core/src/main/java/org/apache/mahout/clustering/meanshift/MeanShiftCanopyJob.java
 
./core/src/main/java/org/apache/mahout/clustering/meanshift/MeanShiftCanopyDriver.java
 

I have added one additional helper class (DefaultOptionCreator) that provides 
methods for creating the most common options (k clusters, input, output and the 
like) to avoid copying and ensure that the same option strings are used all 
over the code.

> Convert main() methods to use Commons CLI for argument processing
> -----------------------------------------------------------------
>
>                 Key: MAHOUT-138
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-138
>             Project: Mahout
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 0.2
>
>         Attachments: MAHOUT-138.patch, MAHOUT-138_fuzzyKMeansJob.patch
>
>
> Commons CLI is in the classpath and makes it much easier to handle command 
> line args and they are more self-documenting when done right.  We should 
> convert our main methods to use CLI

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to