SkillAgentSearch skills...

BNPMix.jl

Bayesian Nonparametric Mixture Models in Julia

Install / Use

/learn @BigBayes/BNPMix.jl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

MCMC for Normalized Random Measure Mixture Models

Unix | CodeCov | License ---- | ------- | ------- Travis | CodeCov | License: MIT

What's this about

This package is a Julia port of the Java code released written by Yee Whye Teh for the article MCMC for Normalized Random Measure Mixture Models. Do not hesitate to create pull requests for enhancements or to open an issue. In any case, you can write to me (Emile Mathieu) at: emile.mathieu-at-stats-dot-ox-dot-ac-dot-uk.

Installation and requirements

Requirements:

  • Julia in [0.6.x]
  • 64-bit architecture

In the Julia REPL:

Pkg.clone("https://github.com/BigBayes/BNPMix.jl")
using BNPMix

Algorithms implemented

  • Marginalized Samplers:
    • Neal’s Algorithm 8 generalized
    • The Reuse algorithm
  • Conditional Slice Sampler

Notes

  • Conjugate version not implemented
  • Only Normal-Gamma-Independent emission implemented
  • Multidimensional data observation not implemented

Example

You can run the Reuse conditional sampler on the galaxy dataset modeled as a mixtures of Gaussian with a normalized generalized Gamma prior:

cd examples
julia galaxy.jl

Tests

To localy run the tests, run in Julia:

Pkg.test("BNPMix")

References

Related Skills

View on GitHub
GitHub Stars14
CategoryEducation
Updated4y ago
Forks0

Languages

Julia

Security Score

80/100

Audited on Jan 4, 2022

No findings