Rectangular adjacency matrix with non-negative entries.
K
Number of latent dimensions of the SparseLPM.
method
The variational parameters are initialised at random. However, if method="distance", a distance-based method is used as described in Rastelli ... (2018).
threshold
A small number added to each of the entries of X to avoid numerical instability.
stdev
Standard deviation of the Gaussian used to generate the random latent positions.
Value
Returns a list of variational parameters that can be used as input for slpm_nga or slpm_elbo.