In Java/Scala-land, the intent is to use Breeze for this. "Vector" in
Spark is an opaque wrapper around the Breeze representation, which
contains a bunch of methods like this.
On Fri, Mar 13, 2015 at 3:28 PM, Daniel, Ronald (ELS-SDG)
wrote:
>> Any convenient tool to do this [sparse vector product
> Any convenient tool to do this [sparse vector product] in Spark?
Unfortunately, it seems that there are very few operations defined for sparse
vectors. I needed to add some, and ended up converting them to (dense) numpy
vectors and doing the addition on those.
Best regards,
Ron
From: Xi She