Description Usage Arguments Value References See Also Examples
View source: R/Gaussian_Inference.r
For following model structure:
x \sim Gaussian(A z + b, Sigma)
z \sim Gaussian(m,S)
Where Sigma is known. A is a dimx x dimz matrix, x is a dimx x 1 random vector, z is a dimz x 1 random vector, b is a dimm x 1 vector. Gaussian() is the Gaussian distribution. See ?dGaussian
for the definition of Gaussian distribution.
Update (m,S) by adding the information of newly observed samples x. The model structure and prior parameters are stored in a "LinearGaussianGaussian" object, the prior parameters in this object will be updated after running this function.
1 2 |
obj |
A "LinearGaussianGaussian" object. |
ss |
Sufficient statistics of x. In LinearGaussian-Gaussian case the sufficient statistic of sample x is a object of type "ssLinearGaussianGaussian", it can be generated by the function sufficientStatistics(). |
... |
Additional arguments to be passed to other inherited types. |
None. the gamma stored in "obj" will be updated based on "ss".
Murphy, Kevin P. Machine learning: a probabilistic perspective. MIT press, 2012.
LinearGaussianGaussian
,posteriorDiscard.LinearGaussianGaussian
,sufficientStatistics.LinearGaussianGaussian
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.