Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding link to Bayesian Inference example that uses Flax #2521

Merged
merged 2 commits into from
Oct 14, 2022

Conversation

zaxtax
Copy link
Collaborator

@zaxtax zaxtax commented Oct 11, 2022

This PR adds a link to a BlackJAX example which uses Flax to train a Bayesian neural network using Stochastic Gradient HMC.

Fixes # (issue)

Checklist

  • This PR fixes a minor issue (e.g.: typo or small bug) or improves the docs (you can dismiss the other
    checks if that's the case).

@codecov-commenter
Copy link

codecov-commenter commented Oct 11, 2022

Codecov Report

Merging #2521 (bab8e74) into main (cc88a73) will increase coverage by 0.26%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##             main    #2521      +/-   ##
==========================================
+ Coverage   78.81%   79.08%   +0.26%     
==========================================
  Files          48       49       +1     
  Lines        5066     5188     +122     
==========================================
+ Hits         3993     4103     +110     
- Misses       1073     1085      +12     
Impacted Files Coverage Δ
flax/training/dynamic_scale.py 0.00% <ø> (ø)
flax/training/checkpoints.py 61.47% <40.00%> (+0.11%) ⬆️
flax/serialization.py 69.09% <100.00%> (-0.19%) ⬇️
flax/errors.py 86.51% <0.00%> (-0.70%) ⬇️
flax/linen/module.py 92.58% <0.00%> (-0.21%) ⬇️
flax/linen/transforms.py 93.90% <0.00%> (-0.17%) ⬇️
flax/linen/partitioning.py 82.21% <0.00%> (-0.12%) ⬇️
flax/linen/recurrent.py 100.00% <0.00%> (ø)
flax/linen/stochastic.py 96.55% <0.00%> (ø)
flax/training/train_state.py 0.00% <0.00%> (ø)
... and 11 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -179,6 +179,10 @@ Examples
- `@vasudevgupta7 <https://github.com/vasudevgupta7>`__
- Question-Answering
- https://arxiv.org/abs/2007.14062
* - `BlackJAX using MNIST <https://blackjax-devs.github.io/blackjax/examples/SGMCMC.html>`__
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe "Bayesian Networks with BlackJAX" is a bit more accurate?

@cgarciae cgarciae self-assigned this Oct 14, 2022
@copybara-service copybara-service bot merged commit 16a95f0 into google:main Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants