mesos/spark — pull request #98 by edisontung (2011-12-01 07:20:30+00:00)
Title: Added two examples. also added a method to RDD.scala

Added LocalKMeans and SparkLocalKMeans which are examples that compute K-Means clusters.

Method added to RDD.scala is takeSamples, which returns a set number of samples in an array (the number is specified as an argument to the method.