Uses of Class
org.apache.commons.rng.sampling.distribution.DirichletSampler
-
Packages that use DirichletSampler Package Description org.apache.commons.rng.sampling.distribution This package contains classes for sampling from statistical distributions. -
-
Uses of DirichletSampler in org.apache.commons.rng.sampling.distribution
Methods in org.apache.commons.rng.sampling.distribution that return DirichletSampler Modifier and Type Method Description static DirichletSampler
DirichletSampler. of(UniformRandomProvider rng, double... alpha)
Creates a new Dirichlet distribution sampler.static DirichletSampler
DirichletSampler. symmetric(UniformRandomProvider rng, int k, double alpha)
Creates a new symmetric Dirichlet distribution sampler using the same concentration parameter for each category.abstract DirichletSampler
DirichletSampler. withUniformRandomProvider(UniformRandomProvider rng)
Create a new instance of the sampler with the same underlying state using the given uniform random provider as the source of randomness.
-