You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/08/29 10:14:00 UTC
[jira] [Assigned] (SPARK-21862) Add overflow check in PCA
[ https://issues.apache.org/jira/browse/SPARK-21862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-21862:
------------------------------------
Assignee: Apache Spark
> Add overflow check in PCA
> -------------------------
>
> Key: SPARK-21862
> URL: https://issues.apache.org/jira/browse/SPARK-21862
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Affects Versions: 2.2.0, 2.3.0
> Reporter: Weichen Xu
> Assignee: Apache Spark
> Priority: Minor
>
> We should add overflow check in PCA, otherwise it is possible to throw `NegativeArraySizeException` when `k` and `numFeatures` are too large.
> The overflow checking formula is here:
> https://github.com/scalanlp/breeze/blob/master/math/src/main/scala/breeze/linalg/functions/svd.scala#L87
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org