product_weights.Rd
An alignment based on product weights sets the weight between topics k and k' according to \(\gamma_{k}^T\gamma_{k}^\prime\), where \(\gamma_{k} \in \mathbb{R}^n_{+}\) provides the mixed membership assigned to topic \(k\) across the \(n\) samples (and similarly for topic \(k^\prime\)). This function computes these weights given a list of two \(n \times K\) gamma matrices.
product_weights(gammas, ...)
(required) A list of length two, containing the mixed
membership matrices (a matrix
of dimension n-samples by k-topics) to
compare. The number of columns may be different, but the number of samples
must be equal.
(optional) Other keyword arguments. These are unused by the
product_weights
alignment strategy, but is included for consistency
across weight functions.
products A data.frame
giving the product similarity of each
pair of topics across the two input matrices.
align_graph