BNPMix.jl
Bayesian Nonparametric Mixture Models in Julia
Install / Use
/learn @BigBayes/BNPMix.jlREADME
MCMC for Normalized Random Measure Mixture Models
Unix | CodeCov | License
---- | ------- | -------
|
|
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
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
research_rules
Research & Verification Rules Quote Verification Protocol Primary Task "Make sure that the quote is relevant to the chapter and so you we want to make sure that we want to have it identifie
