
上QQ阅读APP看书,第一时间看更新
Performing vector arithmetic using Spark 2.0
In this recipe, we explore vector addition in the Spark environment using the Breeze library for underlying operations. Vectors allow us to collect features and then manipulate them via linear algebra operations such as add, subtract, transpose, dot product, and so on.