fa_like: Create a Factor Analysis-like low rank matrix factorization object
Description
A low rank matrix factorization of a matrix X is
parameterized by X ~= X %*% B %*% t(Y). The
object is "factor analysis-like" because the middle
matrix in the decomposition is arbitrary rather than
diagonal.
Usage
fa_like(Z, B, Y, subclasses = NULL, ...)
Arguments
Z
A matrix of embeddings for each observation.
B
A mixing matrix describing how observation embeddings
and topics interact. Does not have to be diagonal!
Y
A matrix describing the compositions of various topics
or factors.
subclasses
A character vector of subclasses.
Optional, defaults to NULL.
...
Optional additional items to pass to the constructor.