You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Patrick Pisciuneri (Jira)" <ji...@apache.org> on 2019/09/17 14:23:00 UTC

[jira] [Created] (SPARK-29121) Support Dot Product for Vectors

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org