Pyspark elementwise matrix multiplication

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Pyspark elementwise matrix multiplication

Simon Dirmeier-2

Dear all,

I wonder if there is a way to take the elementwise-product of 2 matrices (RowMatrix, DistributedMatrix, ..) in pyspark?
I cannot find a good answer/API entry on the topic.

Thank you for all the help.


Best,
Simon
Reply | Threaded
Open this post in threaded view
|

Re: Pyspark elementwise matrix multiplication

Yeikel
Elementwise product is described here :

https://spark.apache.org/docs/latest/mllib-feature-extraction.html#elementwiseproduct

I don't know if it will work with your input thought.





--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: [hidden email]