Skip to content

Commit

Permalink
Merge pull request #2 from promised-ai/cs-experimental
Browse files Browse the repository at this point in the history
Stick breaking
  • Loading branch information
BaxterEaves authored Apr 16, 2024
2 parents 8b6096f + 605d76c commit 2fbeecd
Show file tree
Hide file tree
Showing 95 changed files with 4,120 additions and 1,474 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
.vim
.helix
*.zip
lcov.info
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Changelog

## [0.17.0] - 2024-05-15
- Add `experimental` module with `stick_breaking_process` submodule containing:
- `StickBreaking` struct representing a stick-breaking process
- `StickBreakingDiscrete` struct representing a discrete distribution based on a stick-breaking process
- `StickSequence` struct representing a sequence of stick breaks
- `BreakSequence` struct representing a sequence of break points
- `posterior` method on `StickBreaking` to compute the posterior distribution given data
- Various helper methods and trait implementations
- Update `ConjugatePrior`
- Change `LnMCache` to `MCache`
- Change `LnPpCache` to `PpCache`
- Split `Rv` into `Sampleable` and `HasDensity`
- Add `Process` generalizing `Rv`
- Add `Parameterized` trait
- Add `impl<X: Booleable> ConjugatePrior<X, Bernoulli> for UnitPowerLaw`
- Add `ConvergentSequence` implementing Aitken's delta-squared method
- Add `sorted_uniforms` helper function
- Minor stylistic changes suggested by Clippy


## [0.16.5] - 2024-03-14
- Moved repository to GitHub.

Expand Down Expand Up @@ -172,7 +192,7 @@
- Remove dependency on `quadrature` crate in favor of hand-rolled adaptive
Simpson's rule, which handles multimodal distributions better.


[0.17.0]: https://github.com/promise-ai/rv/compare/v0.16.5...v0.17.0
[0.16.5]: https://github.com/promise-ai/rv/compare/v0.16.4...v0.16.5
[0.16.4]: https://github.com/promise-ai/rv/compare/v0.16.3...v0.16.4
[0.16.3]: https://github.com/promise-ai/rv/compare/v0.16.2...v0.16.3
Expand Down
Loading

0 comments on commit 2fbeecd

Please sign in to comment.