JuliaTrustworthyAI / LaplaceRedux.jl

Effortless Bayesian Deep Learning through Laplace Approximation for Flux.jl neural networks.
https://www.taija.org/LaplaceRedux.jl/
MIT License
39 stars 3 forks source link

90 average calibration functions in utils.jl #97

Closed pasq-cat closed 3 months ago

pasq-cat commented 3 months ago

added functions in utils.jl for computing the average empirical frequency and changed glm_predictive_distribution to return a normal distribution in case of regression. it should pass all tests

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.88%. Comparing base (8d1a154) to head (459b2fe). Report is 11 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #97 +/- ## ========================================== + Coverage 95.34% 95.88% +0.53% ========================================== Files 18 22 +4 Lines 602 656 +54 ========================================== + Hits 574 629 +55 + Misses 28 27 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

pasq-cat commented 3 months ago

is it possible to stop this checks until i am ready? every commit github automatically runs checks .....

pat-alt commented 3 months ago

is it possible to stop this checks until i am ready? every commit github automatically runs checks .....

You can remove this part here (I've already done this in #39). For now, please just run the formatter before you push, it takes 2s :)

pasq-cat commented 3 months ago

is it possible to stop this checks until i am ready? every commit github automatically runs checks .....

You can remove this part here (I've already done this in #39). For now, please just run the formatter before you push, it takes 2s :)

I know, I just forget to do it. I wish it was automatically applied before synchronization