biaslab / ForneyLab.jl

Julia package for automatically generating Bayesian inference algorithms through message passing on Forney-style factor graphs.
MIT License
149 stars 33 forks source link

Improve error messages #204

Closed ThijsvdLaar closed 2 years ago

ThijsvdLaar commented 2 years ago

This PR fixes #27 , #70 , #146 , #194

codecov-commenter commented 2 years ago

Codecov Report

Merging #204 (c1a905a) into master (a3788e1) will increase coverage by 0.12%. The diff coverage is 86.66%.

@@            Coverage Diff             @@
##           master     #204      +/-   ##
==========================================
+ Coverage   87.14%   87.27%   +0.12%     
==========================================
  Files          97       97              
  Lines        4614     4645      +31     
==========================================
+ Hits         4021     4054      +33     
+ Misses        593      591       -2     
Impacted Files Coverage Δ
src/distribution.jl 73.33% <0.00%> (-2.01%) :arrow_down:
src/engines/julia/update_rules/gaussian_moments.jl 95.55% <ø> (+3.55%) :arrow_up:
src/message_passing.jl 82.67% <60.00%> (-1.33%) :arrow_down:
src/algorithms/inference_algorithm.jl 90.47% <75.00%> (-5.45%) :arrow_down:
src/algorithms/expectation_propagation.jl 95.38% <100.00%> (+2.63%) :arrow_up:
src/algorithms/joint_marginals.jl 96.84% <100.00%> (+1.89%) :arrow_up:
src/algorithms/naive_variational_bayes.jl 96.82% <100.00%> (+2.79%) :arrow_up:
src/algorithms/posterior_factorization.jl 96.55% <100.00%> (+0.22%) :arrow_up:
src/algorithms/structured_variational_bayes.jl 96.38% <100.00%> (+2.13%) :arrow_up:
src/algorithms/sum_product.jl 96.47% <100.00%> (+0.96%) :arrow_up:
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a3788e1...c1a905a. Read the comment docs.