Problems using Jama in java for LSA
问题 i am making using of the jama package for finding the lsa . I was told to reduce the dimensionality and hence i have reduced it to 3 in this case and i reconstruct the matrix . But the resultant matrix is very different from the one i had given to the system heres the code a = new Matrix(termdoc); // get the matrix here a = a.transpose() ; // since the matrix is in the form of doc * terms i transpose it SingularValueDecomposition sv =new SingularValueDecomposition(a) ; u = sv.getU(); v = sv