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 <nav...@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-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >