... initializationMode = KMeans.RANDOM ?

Similarly in next test and for K_MEANS_PARALLEL.

Incidentally, I really don't like using raw strings for these, but I don't know the best way to expose a typesafe enumeration that is easy to use across Scala, Java and Python.