Hi,

spark-1.0.1/examples/src/main/python/kmeans.py => Naive example for users to 
understand how to code in Spark
spark-1.0.1/python/pyspark/mllib/clustering.py => Use this!!!

Bonus: spark-1.0.1/examples/src/main/python/mllib/kmeans.py => Example on how 
to call KMeans. Feel free to use it as a template!

Best,
Burak

----- Original Message -----
From: "MEETHU MATHEW" <meethu2...@yahoo.co.in>
To: user@spark.apache.org
Sent: Wednesday, September 17, 2014 10:26:40 PM
Subject: Python version of kmeans

Hi all,

I need the kmeans code written against Pyspark for some testing purpose.
Can somebody tell me the difference between these two files.

 spark-1.0.1/examples/src/main/python/kmeans.py   and 

 spark-1.0.1/python/pyspark/mllib/clustering.py


Thanks & Regards, 
Meethu M


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

Reply via email to