Description Usage Arguments Value Author(s) References Examples
Compute log(sum(exp(x),dim)) while avoiding numerical underflow.
1 | logsumexp(x, margin = 1)
|
x |
numeric vector or matrix |
margin |
dimension to apply summation |
numeric vector or matrix of the same columns or rows (depending on margin) as x
Yue Li
Mo Chen (2012). Matlab code for Variational Bayesian Inference for Gaussian Mixture Model. http://www.mathworks.com/matlabcentral/fileexchange/35362-variational-bayesian-inference-for-gaussian-mixture-model
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.