spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiangrui Meng <men...@gmail.com>
Subject Re: question about customize kmeans distance measure
Date Tue, 19 May 2015 20:17:23 GMT
MLlib only supports Euclidean distance for k-means. You can find
Bregman divergence support in Derrick's package:
http://spark-packages.org/package/derrickburns/generalized-kmeans-clustering.
Which distance measure do you want to use? -Xiangrui

On Tue, May 12, 2015 at 7:23 PM, June <zhuman.private@yahoo.com.invalid> wrote:
> Dear list,
>
>
>
> I am new to spark, and I want to use the kmeans algorithm in mllib package.
>
> I am wondering whether it is possible to customize the distance measure used
> by kmeans, and how?
>
>
>
> Many thanks!
>
>
>
> June

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message