How to do spares vector product in Spark?

2015-03-13 Thread Xi Shen
Hi, I have two RDD[Vector], both Vector are spares and of the form: (id, value) id indicates the position of the value in the vector space. I want to apply dot product on two of such RDD[Vector] and get a scale value. The none exist values are treated as zero. Any convenient tool to do

RE: How to do spares vector product in Spark?

2015-03-13 Thread Daniel, Ronald (ELS-SDG)
Shen [mailto:davidshe...@gmail.com] Sent: Friday, March 13, 2015 1:50 AM To: user@spark.apache.org Subject: How to do spares vector product in Spark? Hi, I have two RDD[Vector], both Vector are spares and of the form: (id, value) id indicates the position of the value in the vector space. I

Re: How to do spares vector product in Spark?

2015-03-13 Thread Sean Owen
...@gmail.com] Sent: Friday, March 13, 2015 1:50 AM To: user@spark.apache.org Subject: How to do spares vector product in Spark? Hi, I have two RDD[Vector], both Vector are spares and of the form: (id, value) id indicates the position of the value in the vector space. I want to apply