Description Usage Arguments Value Note See Also
A speedy sampling from a multimomial distribution
1 | sample_multinomial(theta)
|
theta |
a multinomial probability vector (K x 1 vector) |
returns a class index from [0, K)
Author: Clint P. George
Created on: February 11, 2016
Other utils: H
, JSD.matrix
,
JSD
, KLD
,
sample_antoniak
,
sample_dirichlet
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.