https://spark.apache.org/docs/latest/ml-clustering.html#k-means