You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Mihai Josan <Mi...@iquestgroup.com> on 2013/02/12 09:58:21 UTC
how to use a custom distance measure with kmeans?
Hello,
Can you please tell me how can I use a custom made distance measure with Mahout in command line?
I am trying to do a clusterizationusing this distance like:
mahout kmeans -i in/sequence/ \
-c out/centroids/clusters-0 \
-o out/clusters-out/ \
-x 10 \
-dm MyDistanceMeasure \
-ow
Thank you in advance,
Mihai
Re: how to use a custom distance measure with kmeans?
Posted by Mahesh Balija <ba...@gmail.com>.
Are you getting any errors?
Can you specify fully qualified class name of your distance measure (like
com.xxx.MyDistanceMeasure) and check?
Best,
Mahesh Balija,
Calsoft Labs.
On Tue, Feb 12, 2013 at 2:28 PM, Mihai Josan <Mi...@iquestgroup.com>wrote:
> Hello,
>
> Can you please tell me how can I use a custom made distance measure with
> Mahout in command line?
> I am trying to do a clusterizationusing this distance like:
>
> mahout kmeans -i in/sequence/ \
> -c out/centroids/clusters-0 \
> -o out/clusters-out/ \
> -x 10 \
> -dm MyDistanceMeasure \
> -ow
>
> Thank you in advance,
> Mihai
>