Probability Distributions

Chainer provides many Distribution implementations in the chainer.distributions package.

Distributions

chainer.distributions.Bernoulli Bernoulli Distribution.
chainer.distributions.Beta Beta Distribution.
chainer.distributions.Categorical Categorical Distribution.
chainer.distributions.Chisquare Chi-Square Distribution.
chainer.distributions.Dirichlet Dirichlet Distribution.
chainer.distributions.Exponential Exponential Distribution.
chainer.distributions.Gamma Gamma Distribution.
chainer.distributions.Gumbel Gumbel Distribution.
chainer.distributions.Laplace Laplace Distribution.
chainer.distributions.LogNormal Logatithm Normal Distribution.
chainer.distributions.MultivariateNormal MultivariateNormal Distribution.
chainer.distributions.Normal Normal Distribution.
chainer.distributions.OneHotCategorical OneHotCategorical Distribution.
chainer.distributions.Pareto Pareto Distribution.
chainer.distributions.Poisson Poisson Distribution.
chainer.distributions.Uniform Uniform Distribution.

Functionals of distribution

chainer.cross_entropy Computes Cross entropy.
chainer.kl_divergence Computes Kullback-Leibler divergence.
chainer.register_kl Decorator to register KL divergence function.

Base classes

chainer.Distribution Interface of Distribution