NNLM
NNLM copied to clipboard
Support for symmetric A factorization
Currently, nnmf()
doesn't specifically handle the case of symmetric A
, resulting asymmetric W, H
. Please consider adding such feature: that would be extremely useful for factorizing pairwise distance and correlation matrices.
See also: https://github.com/andybaoxv/symnmf
@aparamon Hmm, good suggestion. I will take a look and consider to implement it. Thanks!
@aparamon Alternating least squares requires non-identical W
and H
initializations, and during the factorization W
and H
converge towards one another, after linear transformation. W
and H
will never exactly equal one another without convergence having been called.
Basically, after convergence, convert the factorization of the form A = WH
to the form A = WDH
(like in SVD), and then W
and H
will be nearly identical. You can average the two to find a near-exact symmetric factorization solution.