RE: [math] trouble with SingularValueDecomposition

2014-02-16 Thread Patrick Meyer
PM To: Commons Developers List Subject: Re: [math] trouble with SingularValueDecomposition Note that the only reason that the order is unconstrained is because the two corresponding singular values are equal. Strictly speaking, for equal singular values, any unitary transformation of the correspo

Re: [math] trouble with SingularValueDecomposition

2014-02-15 Thread Ted Dunning
.7815621241949481 0.621551704865 > 0.06657590034559915 0.6238274168581248 0.7787213901449556 > > > > -Original Message- > From: Ted Dunning [mailto:ted.dunn...@gmail.com] > Sent: Saturday, February 15, 2014 2:17 AM > To: Commons Developers List > Subject: Re: [math] t

RE: [math] trouble with SingularValueDecomposition

2014-02-15 Thread Patrick Meyer
49556 -Original Message- From: Ted Dunning [mailto:ted.dunn...@gmail.com] Sent: Saturday, February 15, 2014 2:17 AM To: Commons Developers List Subject: Re: [math] trouble with SingularValueDecomposition For what its worth, I tested the Mahout SVD which shares code lineage with the Commons

Re: [math] trouble with SingularValueDecomposition

2014-02-14 Thread Ted Dunning
For what its worth, I tested the Mahout SVD which shares code lineage with the Commons Math implementation. The results I got were: > > > > > > > > > > > > *sum(abs(m - u * s * v')) = 4.31946146e-16S =1.002319690998 > 1.0023196909981. U =0.994059401897 0.067747631244 > -

Re: [math] trouble with SingularValueDecomposition

2014-02-14 Thread Ted Dunning
And what exactly are the results you are getting? On Fri, Feb 14, 2014 at 6:07 PM, Patrick Meyer wrote: > Hi, > > > > I am using the SingularValueDecomposition class with a matrix but it gives > me a different result than R. My knowledge of SVD is limited, so any advice > is welcomed. > > > >