Description Usage Arguments Value References
View source: R/Categorical_Inference.r
Update a "CatDirichlet" object with sample sufficient statistics
1 2 | ## S3 method for class 'CatDirichlet'
posterior_bySufficientStatistics(obj, ss, ...)
|
obj |
A "CatDirichlet" object. |
ss |
Sufficient statistics of x. In Categorical-Dirichlet case the sufficient statistic of sample x can be either x itself, of an "ssCat" object generated by the function sufficientStatistics.CatDirichlet(). |
... |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.