posteriorDiscard_bySufficientStatistics.CatDirichlet: Update the prior Dirichlet distribution with sample...

Description Usage Arguments Value References See Also

View source: R/Categorical_Inference.r

Description

Update the prior Dirichlet distribution with sample sufficient statistics

Usage

1
2
## S3 method for class 'CatDirichlet'
posteriorDiscard_bySufficientStatistics(obj, ss, ...)

Arguments

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.

Value

None. the gamma stored in "obj" will be updated based on "ss".

References

Murphy, Kevin P. Machine learning: a probabilistic perspective. MIT press, 2012.

See Also

posteriorDiscard


bbricks documentation built on July 8, 2020, 7:29 p.m.