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

[jira] [Updated] (SPARK-14850) VectorUDT/MatrixUDT should take primitive arrays without boxing

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

Xiangrui Meng updated SPARK-14850:
----------------------------------
    Description: 
In SPARK-9390, we switched to use GenericArrayData to store indices and values in vector/matrix UDTs. However, GenericArrayData is not specialized for primitive types. This might hurt MLlib performance badly. We should consider either specialize GenericArrayData or use a different container.

cc: [~cloud_fan] [~yhuai]

  was:In SPARK-9390, we switched to use GenericArrayData to store indices and values in vector/matrix UDTs. However, GenericArrayData is not specialized for primitive types. This might hurt MLlib performance badly. We should consider either specialize GenericArrayData or use a different container.


> VectorUDT/MatrixUDT should take primitive arrays without boxing
> ---------------------------------------------------------------
>
>                 Key: SPARK-14850
>                 URL: https://issues.apache.org/jira/browse/SPARK-14850
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, SQL
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Xiangrui Meng
>            Priority: Critical
>
> In SPARK-9390, we switched to use GenericArrayData to store indices and values in vector/matrix UDTs. However, GenericArrayData is not specialized for primitive types. This might hurt MLlib performance badly. We should consider either specialize GenericArrayData or use a different container.
> cc: [~cloud_fan] [~yhuai]



--
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