by acconsta · 11y ago · 0 comments
Huh? Isn't Gaussian elimination more straightforward?
http://www2.research.att.com/~volinsky/papers/ieeecomputer.p...
Edit: everything, then added AT&T research paper link
What you do is for each user, sum up the vectors of items they 'used', and the outer product of each item vector with itself, and solve a straightforward linear algebra equation. Then you flip it around and sum up the new user vectors and their outer products for each item. And alternate.
And so yeah, you don't need to invert the matrix, you use a Cholesky decomposition or something similar as it's guaranteed to be positive definite.