View source: R/compute_LICORS_loglik.R
Computes the average log-likelihood \frac{1}{N} \ell(\mathbf{W}; \mathcal{D}) as a function of the weight matrix \mathbf{W} and the predictive state distributions P(X = x \mid S = s_j) \approx P(X = x \mid \mathbf{W}_j) for all j = 1, …, K. See References.
1 2 | compute_LICORS_loglik(weight.matrix, pdfs.FLC, lambda = 0, penalty = "entropy", q = 2,
base = exp(1))
|
weight.matrix |
N \times K weight matrix |
pdfs.FLC |
an N \times K matrix containing the estimates of all K FLC densities evaluated at all N sample FLCs. |
lambda |
regularization parameter. Default:
|
penalty |
type of penalty: |
base |
logarithm base for the |
q |
exponent for L_q norm. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.