You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tamas Jambor (JIRA)" <ji...@apache.org> on 2016/04/18 12:08:25 UTC

[jira] [Updated] (SPARK-14697) mllib DenseMatrix toArray could use the internal values

     [ https://issues.apache.org/jira/browse/SPARK-14697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tamas Jambor updated SPARK-14697:
---------------------------------
    Summary: mllib DenseMatrix toArray could use the internal values  (was: mllib DenseMatrix toArray could use the internal values for the object)

> mllib DenseMatrix toArray could use the internal values
> -------------------------------------------------------
>
>                 Key: SPARK-14697
>                 URL: https://issues.apache.org/jira/browse/SPARK-14697
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib
>    Affects Versions: 1.6.1
>            Reporter: Tamas Jambor
>            Priority: Minor
>
> When toArray is called from an mllib Densematrix, it calls the function from the superclass Matrix, where it creates a new array (and iterates through all the values).
> This is not necessary as values are stored in DenseMatrix, in exactly the format that this function would require. Why not just call that?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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