-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create documentation and github workflow
- Loading branch information
Showing
18 changed files
with
383 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Publish docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Set up Python 3.7 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
|
||
- name: Build docs | ||
run: | | ||
pip install -r requirements-dev.txt | ||
sphinx-build -b html docs docs/build/html | ||
- name: Publish docs | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: docs/build/html | ||
CLEAN: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#site-navigation{ | ||
background: #E6E7E8; | ||
h1.site-logo { | ||
font-weight: bold; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
Common Kernels | ||
============== | ||
|
||
.. currentmodule:: blackjax | ||
|
||
.. autosummary:: | ||
|
||
hmc | ||
nuts | ||
rmh | ||
tempered_smc | ||
|
||
HMC | ||
~~~ | ||
|
||
.. automodule:: blackjax.hmc | ||
:members: HMCInfo, kernel, new_state | ||
|
||
NUTS | ||
~~~~ | ||
|
||
.. automodule:: blackjax.nuts | ||
:members: NUTSInfo, kernel, new_state | ||
|
||
RMH | ||
~~~ | ||
|
||
.. automodule:: blackjax.rmh | ||
:members: | ||
:undoc-members: | ||
|
||
Tempered SMC | ||
~~~~~~~~~~~~ | ||
|
||
.. automodule:: blackjax.tempered_smc | ||
:members: TemperedSMCState, adaptive_tempered_smc, tempered_smc | ||
|
||
|
||
Adaptation | ||
========== | ||
|
||
|
||
Stan full warmup | ||
~~~~~~~~~~~~~~~~ | ||
|
||
.. currentmodule:: blackjax | ||
|
||
.. automodule:: blackjax.stan_warmup | ||
:members: run | ||
|
||
Step-size adataptation | ||
~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. currentmodule:: blackjax.adaptation.step_size | ||
|
||
.. autofunction:: dual_averaging_adaptation | ||
|
||
.. autofunction:: find_reasonable_step_size | ||
|
||
Mass matrix adataptation | ||
~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. currentmodule:: blackjax.adaptation.mass_matrix | ||
|
||
.. autofunction:: mass_matrix_adaptation | ||
|
||
Diagnostics | ||
=========== | ||
|
||
.. currentmodule:: blackjax.diagnostics | ||
|
||
.. autosummary:: | ||
|
||
effective_sample_size | ||
potential_scale_reduction | ||
|
||
Effective sample size | ||
~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. autofunction:: effective_sample_size | ||
|
||
|
||
Potential scale reduction | ||
~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. autofunction:: potential_scale_reduction |
Oops, something went wrong.