i'm trying to do factor analysis for a co-occurrence matrix(C) , which is computed from the term-document matrix(TD) as follows: C=TD*TD'
In theory C should be positive semi-definite , but it isn't and the factor analysis algorithm can't work with it because of this.I can't change the algo because of speed reasons).
I look it up and it might be a numerical stability issue : http://stackoverflow.com/questions/619335/a-simple-algorithm-for-generating-positive-semidefinite-matrices - answer 2.
What's a good way to proceed here ?