spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Gittens <gitt...@icsi.berkeley.edu>
Subject Re: Determinant of Matrix
Date Mon, 24 Aug 2015 17:00:38 GMT
It sounds like you've already computed the covariance matrix. You can
convert it to a breeze matrix then use breeze.linalg.det :

val determinant = breeze.linalg.det(
mat.toBreeze.asInstanceOf[breeze.linalg.DenseMatrix[Double]] )



On Mon, Aug 24, 2015 at 4:10 AM, Naveen <naveen@formcept.com> wrote:

> Hi,
>
> Is there any function to find the determinant of a mllib.linalg.Matrix (a
> covariance matrix) using Spark?
>
>
> Regards,
> Naveen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>

Mime
View raw message