Skip to content

Commit

Permalink
create bayesian logistic regression notebook demo (#103)
Browse files Browse the repository at this point in the history
* Add bayesian logistic regression with RMH
* Change the type of PRNGKeys to DeviceArray
  • Loading branch information
gerdm authored Dec 22, 2021
1 parent f2ccaf7 commit 6f728a9
Show file tree
Hide file tree
Showing 2 changed files with 417 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blackjax/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# Once recursive typing is fully supported (https://github.com/python/mypy/issues/731), we can uncomment the line below.
# PyTree = Union[Array, Iterable["PyTree"], Mapping[Any, "PyTree"]]

PRNGKey = Array
PRNGKey = jnp.ndarray
Loading

0 comments on commit 6f728a9

Please sign in to comment.