kmeans.py contains a naive implementation of k-means in python, served as an example of how to use pyspark. Please use MLlib's implementation in practice. There is a JIRA for making it clear: https://issues.apache.org/jira/browse/SPARK-2434
-Xiangrui On Wed, Jul 16, 2014 at 8:16 PM, amin mohebbi <[email protected]> wrote: > Can anyone explain to me what is difference between kmeans in Mlib and > kmeans in examples/src/main/python/kmeans.py? > > > Best Regards > > ....................................................... > > Amin Mohebbi > > PhD candidate in Software Engineering > at university of Malaysia > > H/P : +60 18 2040 017 > > > > E-Mail : [email protected] > > [email protected]
