We need two pieces of objects to be able to write, measure, and manipulate the parameters of the KMeans || algorithm in Spark. The details of these two pieces of objects can be found at the following websites:
See also
Get Apache Spark 2.x Machine Learning Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.