[
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: [email protected]
For additional commands, e-mail: [email protected]