sample_antoniak: Samples from the Antoniak distribution

Description Usage Arguments Details Note See Also

Description

It's done by sampling N Bernoulli variables

Usage

1
sample_antoniak(N, alpha)

Arguments

N

Number of samples

alpha

strength parameter

Details

References:

http://www.jmlr.org/papers/volume10/newman09a/newman09a.pdf

Note

Created on: May 19, 2016

Created by: Clint P. George

See Also

Other utils: H, JSD.matrix, JSD, KLD, sample_dirichlet, sample_multinomial


clintpgeorge/clda documentation built on May 13, 2019, 8 p.m.