Exploring distributed CoordinateMatrix in Spark 2.0

In this recipe, we cover the second form of specialized distributed matrix. This is very handy when dealing with ML implementations that need to deal with often large 3D coordinate systems (x, y, z). It is a convenient way to package the coordinate data structure into a distributed matrix.

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.