How to initialize cluster centers for K-means in Spark MLlib?
<p>Is there a way to initialize cluster centers while running K-Means in Spark MLlib?</p>

<p>I tried following :</p>

<pre><code>model = KMeans.train(
    sc.parallelize(data), 3, maxIterations=0,
    initialModel = KMeansModel([(-1000.0,-1000.0),(5.0,5.0),(1000.0,1000.0)]))
</code></pre>

<p><code>initialModel</code> and <code>setInitialModel</code> are not present in spark-mllib_2.10</p>