Description Usage Arguments Value Examples
This function define first order gradient of the log-partation function
of Bernoulli distribution. The formula is
log_part_B_g(Theta) = exp(Theta)/(1+exp(Theta))
.
Details can be found in https://arxiv.org/abs/1902.06241.
1 | log_part_B_g(Theta)
|
Theta |
a matrix of natural parameter |
value of the first order gradient
1 | ## Not run: log_part_B_g(matrix(0:9,2,5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.