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/10/02 16:58:00 UTC

[jira] [Created] (SPARK-29334) Supported vector operators in scala should have parity with pySpark

Patrick Pisciuneri created SPARK-29334:
------------------------------------------

             Summary: Supported vector operators in scala should have parity with pySpark 
                 Key: SPARK-29334
                 URL: https://issues.apache.org/jira/browse/SPARK-29334
             Project: Spark
          Issue Type: Improvement
          Components: ML, MLlib
    Affects Versions: 2.3.5, 2.4.5, 3.0.0
            Reporter: Patrick Pisciuneri


pySpark supports various overloaded operators for the DenseVector type that the scala class does not support. 

# ML

https://github.com/apache/spark/blob/master/python/pyspark/ml/linalg/__init__.py#L441-L462

# MLLIB

https://github.com/apache/spark/blob/master/python/pyspark/mllib/linalg/__init__.py#L485-L506

We should be able to leverage the BLAS wrappers to implement these methods on the scala side.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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