stephenslab / ebnm

R package to fit Empirical Bayes Normal Means model.
https://stephenslab.github.io/ebnm/
12 stars 9 forks source link

rewrite normal_scale_mixture and reorganize #19

Closed willwerscheid closed 5 years ago

willwerscheid commented 5 years ago

Add more efficient implementation of normal_scale_mixture (close #15 ). Reorganize code. Export laplacemix. Some docs improvements.

codecov-io commented 5 years ago

Codecov Report

Merging #19 into master will increase coverage by 1.23%. The diff coverage is 93.96%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage   89.29%   90.52%   +1.23%     
==========================================
  Files          20       19       -1     
  Lines         682      908     +226     
==========================================
+ Hits          609      822     +213     
- Misses         73       86      +13
Impacted Files Coverage Δ
R/mle_pn_special_cases.R 54.28% <0%> (-5.09%) :arrow_down:
R/ebnm_fns.R 100% <100%> (ø)
R/mle_point_normal.R 80.68% <100%> (+0.68%) :arrow_up:
R/workhorse_normal_mix.R 88.88% <88.88%> (ø)
R/workhorse_point_normal.R 90.47% <90.47%> (ø)
R/workhorse_point_laplace.R 90.56% <90.56%> (ø)
R/workhorse_ash.R 97.5% <97.5%> (ø)
R/ebnm.R 94.32% <98.33%> (+8.96%) :arrow_up:
... and 3 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 d01393b...11bbfde. Read the comment docs.