You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Sebastian Alfers <se...@googlemail.com> on 2015/05/13 10:57:38 UTC
Increase maximum amount of columns for covariance matrix for
principal components
Hello,
in order to compute a huge dataset, the amount of columns to calculate the
covariance matrix is limited:
https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/linalg/distributed/RowMatrix.scala#L129
What is the reason behind this limitation and can it be extended?
Greetings
Sebastian
Re: Increase maximum amount of columns for covariance matrix for
principal components
Posted by Xiangrui Meng <me...@gmail.com>.
We use a dense array to store the covariance matrix on the driver
node. So its length is limited by the integer range, which is 65536 *
65536 (actually half). -Xiangrui
On Wed, May 13, 2015 at 1:57 AM, Sebastian Alfers
<se...@googlemail.com> wrote:
> Hello,
>
>
> in order to compute a huge dataset, the amount of columns to calculate the
> covariance matrix is limited:
>
> https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/linalg/distributed/RowMatrix.scala#L129
>
> What is the reason behind this limitation and can it be extended?
>
> Greetings
>
> Sebastian
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org