Description Usage Arguments Value
View source: R/02-likelihood.R
Compute the gradient of the log likelihood with respect to W = (delta,gamma,beta). The gamma and beta parts are zero.
1 | grad_log_likelihood(W, model_data)
|
W |
Parameter vector. First n elements are eta, then Gamma and beta. |
model_data |
A list of class "cc_modeldata" as returned by model_setup(). |
A numeric vector containing the gradient. It's not stored as a sparseVector, because it's (mathematically) not sparse. I guess the end is all zeroes though, so maybe we should change this...?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.