See also

The next step in the evolution of this algorithm, that a developer can try as an extension, would be to add weights and come up with a weighted average, but then Spark provides a facility which we explore in the upcoming recipes.

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.