Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Probability Distributions Support #12932

@thomelane

Description

@thomelane

Probability Distributions Support

Would be great to have out-of-the-box support for distributions, similar to functionality provided by TensorFlow Probability and PyTorch Distributions. My current use case is for Reinforcement Learning algorithms that learn stochastic action policies (i.e. learn parameters of a distribution from which actions are sampled), and I update these parameters using the likelihood.

MXNet would ideally have methods on each type of distribution for calculating:

  • probability density,
  • log probability of a data sample given the distribution,
  • entropy of distribution,
  • kl divergence of distribution with another distribution,
  • sampling from distribution (mostly already implemented).

And would support a variety of distributions including:

  • Categorical
  • MultivariateNormal
  • Bernoulli
  • Beta
  • Dirichlet
  • Exponential
  • Gamma
  • Poisson
  • Uniform

MXFusion is a related project but doesn't have the functionality mentioned above. And it would be ideal to have this as a submodule of the MXNet package.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions