Patrick Pisciuneri created SPARK-29121:
------------------------------------------

             Summary: Support Dot Product for Vectors
                 Key: SPARK-29121
                 URL: https://issues.apache.org/jira/browse/SPARK-29121
             Project: Spark
          Issue Type: Improvement
          Components: ML, MLlib
    Affects Versions: 2.3.5, 2.4.5, 3.0.0
            Reporter: Patrick Pisciuneri
             Fix For: 3.0.0


I believe *org.apache.spark.ml.linalg.Vectors* and 
*org.apache.spark.mllib.linalg.Vectors* should support the dot product.  The 
necessary BLAS routines are already there, just a simple wrapper is needed.

I know there has been a lot of discussion about how much of a linear algebra 
package should spark attempt to be, but I have found that the dot product comes 
up quite a bit for feature engineering and scoring.  In the past we have 
created our own *org.apache.spark.ml.linalg* package to expose the private 
methods, but it's an annoying hack.

See also:

SPARK-6442
SPARK-10989





--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to