Skip to content

Conversation

@cscherrer
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Mar 4, 2025

Codecov Report

❌ Patch coverage is 68.01942% with 922 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.08%. Comparing base (489d768) to head (a0a49ca).

Files with missing lines Patch % Lines
src/dist/scaled.rs 46.76% 74 Missing ⚠️
src/dist/product.rs 37.50% 64 Missing and 1 partial ⚠️
src/dist/betaprime.rs 77.70% 64 Missing ⚠️
src/dist/vonmises.rs 73.77% 48 Missing ⚠️
src/data/mod.rs 82.27% 42 Missing ⚠️
src/dist/cdvm.rs 74.85% 41 Missing and 1 partial ⚠️
src/dist/shifted.rs 54.87% 37 Missing ⚠️
src/dist/scaled_prior.rs 74.80% 32 Missing ⚠️
src/traits.rs 12.50% 28 Missing ⚠️
src/dist/shifted_prior.rs 80.67% 23 Missing ⚠️
... and 67 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #13      +/-   ##
==========================================
- Coverage   81.17%   79.08%   -2.10%     
==========================================
  Files          90      101      +11     
  Lines       18147    18150       +3     
  Branches    18147    18150       +3     
==========================================
- Hits        14731    14354     -377     
- Misses       3315     3688     +373     
- Partials      101      108       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

* start on CDVM

* cdvm work

* cdvm work

* more CDVM stuff

* cargo fmt

* drop dead code

* clippying

* change to pflip

* more cdvm work

* CDVM work

* move modulus to last arg

* reorder args

* add note

* drop get_ from getter

* revert betaprime and stickbreaking changes

* add ln_f_matches_ln_f_stat

* bugfix

* cargo fmt

* bugfix

* add ln_pflip test

* typo
* Shifted draft

* bugfixes

* updates

* implement Shiftable

* cargo fmt

* split things up

* move things around

* oops

* test_shiftable macro

* rename

* crate::impl_shiftable!

* test etc

* update tests

* udpate docs

* start on scaled

* work on scaled

* udpate

* update

* update

* udpate

* cargo fmt

* update

* formatting + some comments

* work on scaled

* ScaledError

* search and replace

* more fixes

* update impl Scalable

* more fixes

* cargo fmt

* whitespace

* update shifted

* fix tests

* update traits

* ujpdate

* update

* tests

* tests

* methods

* minor tweaks + drop extraneous tests

* drop unused imports

* format

* fix pareto and scaled_inv_chisq

* bugfix

* Drop old proptest file

* scalable for unit powerlaw

* add missing implem,entation

* missing methods

* drop redundant method

* drop dead code

* mod test

* simplify

* cleanup

* format

* crate::impl_scalable!(InvGaussian);

* Scalable tests for InvGamma

* format

* Fix InvGamma cdf

* dx -> shift

* format

* add commented-out implementation
* add log_i0 and test

* von Mises and suffstat

* drop old tests

* cargo fmt

* fix doc

* drop old comment

* From and tests

* fmt
CHANGELOG.md Outdated
Comment on lines 3 to 9
## [0.19.0]

### Changed
- Merry Christmas
- `NormalInvChiSquared`, `NormalGamma`, and `NormalInvGamme` `PpCache` for Gaussian conjugate analysis changed. `ln_pp_with_cache` is much faster.
- `Gamma` `PpCache` for Poisson conjugate analysis has been optimized. `ln_pp_with_cache` is faster.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: See #19 before merging this PR

BaxterEaves and others added 7 commits April 1, 2025 12:42
* density_histogram_test

* tweaks

* fix

* update VonMises mean

* carg ofmt

* add tests

* reduce sample number in tests

* fix von mises test

* fix doctests
* use sin_cos() instead of each separately

* add sin_mu and cos_mu methods
* work

* cargo fmt

* newline

* VonMises::slice_step

* add modulo

* add ks test

* readability

* cargo fmt

* comment out vm_draw_test

* drop error in soctest

* ignore test
The ln_sigma item is computed upon construction or upon setting sigma.
Since we mostly care about ln_f, this makes sense.
Baxter Eaves and others added 18 commits April 10, 2025 13:41
* update sin and cos

* fixes

* fmt

* doc fix

* log_i0_k: OnceLock<f64>,

* ln_f_vs_ln_f_stat_test()

* cargo fmt

* update crossbeam-channel

* change default VonMises

* drop OnceLock

* optimize

* cleanup

* cargo fmt
Remove ln_sigma OnceLock from Gaussian
* crate::impl_scalable!(VonMises);

* support Circular

* from_parts_unchecked

* make logjac: f64

* missed one

* mutate_unchecked

* map_params

* map_params

* map_params

* progress

* add and export parameters

* more

* format

* cargo fmt

* bugfix

* don't time cache creation

* change rate computation

* add tests

* cargo fmt

* parent_mut

* add missing deps

* pub trait Parameterized: Sized
* progress

* typos

* cargo fmt

* progress

* cleanup

* cleanup

* cargo fmt

* inline
* ScaledPrior

* update

* shifted

* shifted

* cargo fmt

* udpate

* work

* more

* extract_stat rewrites

* drop unused import

* simplify

* progress

* shifted

* cargo fmt

* drop old comments

* style: Adjusted style for clippy.

* Fixed clippy --fix mistakes

---------

Co-authored-by: Mike Schmidt <[email protected]>
* clippy pedantic

* another round

* again

* again

* again

* more

* tweak

* cargo fmt

* oops

* fix failing test
* TWO_PI

* progress

* drop oncelock

* updates

* consistency

* drop serde(skip)

* update CdvmSuffStat

* improve test

* comment

* missed check

* modulus first

* fix

* clippy
Implmented Guassian ConjugatePrior for Ng and Nix for a few different X
types.

Added f16 support under the experimental flag.
* feat: added independent product distributions
* feat: Extended product dists to include tuple unit
* chore: Added exclusions for clippy lints.
* add proptests

* fix

* clippy

* format

* oops

* one message
@schmidmt schmidmt closed this Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants