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.Dirichlet

Dirichlet Distribution.

chainer.distributions.Laplace

Laplace Distribution.

chainer.distributions.LogNormal

Logatithm Normal Distribution.

chainer.distributions.MultivariateNormal

MultivariateNormal Distribution.

chainer.distributions.Normal

Normal 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