-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend documentation and fix API docs
- Loading branch information
Showing
35 changed files
with
334 additions
and
136 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 |
---|---|---|
|
@@ -10,8 +10,9 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v3 | ||
- uses: pre-commit/[email protected] | ||
|
||
test: | ||
name: unit tests | ||
|
@@ -22,9 +23,9 @@ jobs: | |
matrix: | ||
python-version: [3.9] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
|
@@ -53,9 +54,9 @@ jobs: | |
matrix: | ||
python-version: [3.9] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
|
@@ -74,9 +75,9 @@ jobs: | |
matrix: | ||
python-version: [3.9] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
version: 2 | ||
|
||
build: | ||
os: ubuntu-20.04 | ||
os: "ubuntu-20.04" | ||
tools: | ||
python: "3.9" | ||
|
||
sphinx: | ||
configuration: docs/source/conf.py | ||
configuration: docs/conf.py | ||
fail_on_warning: false | ||
|
||
python: | ||
install: | ||
- requirements: docs/requirements.txt | ||
install: | ||
- method: pip | ||
path: . | ||
- requirements: docs/requirements.txt |
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,5 @@ | ||
PKG_VERSION=`python setup.py --version` | ||
|
||
tag: | ||
git tag -a $(PKG_VERSION) -m $(PKG_VERSION) | ||
git push --tag |
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 |
---|---|---|
@@ -1,2 +1,6 @@ | ||
source/examples/ | ||
source/examples/* | ||
build/ | ||
build/* | ||
_autosummary/ | ||
_autosummary/* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
html[data-theme="dark"], html[data-theme="light"] { | ||
--pst-color-primary: #0048bc; | ||
} | ||
|
||
h1 > code > span { | ||
font-family: var(--pst-font-family-monospace); | ||
color: #0048bc; | ||
font-weight: 700; | ||
} | ||
|
||
nav > li > a > code.literal { | ||
padding-top: 0rem; | ||
padding-bottom: 0rem; | ||
background-color: white; | ||
border: 0px; | ||
} | ||
|
||
|
||
nav.bd-links p.caption { | ||
text-transform: uppercase; | ||
} | ||
|
||
code.literal { | ||
background-color: white; | ||
border: 0px; | ||
border-radius: 0px; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Philosophy | ||
========== | ||
|
||
Todo |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
``ramsey.attention`` | ||
==================== | ||
|
||
.. currentmodule:: ramsey.attention | ||
|
||
.. automodule:: ramsey.attention | ||
|
||
Attention | ||
--------- | ||
|
||
.. autosummary:: | ||
MultiHeadAttention | ||
|
||
MultiHeadAttention | ||
~~~~~~~~~~~~~~~~~~ | ||
|
||
.. autoclass:: MultiHeadAttention | ||
:members: |
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,37 @@ | ||
``ramsey.contrib`` | ||
================== | ||
|
||
.. currentmodule:: ramsey.contrib | ||
|
||
.. automodule:: ramsey.contrib | ||
|
||
Modules | ||
------- | ||
|
||
.. autosummary:: | ||
BayesianLinear | ||
|
||
BayesianLinear | ||
~~~~~~~~~~~~~~ | ||
|
||
.. autoclass:: BayesianLinear | ||
:members: | ||
|
||
Models | ||
------ | ||
|
||
.. autosummary:: | ||
BNN | ||
RANP | ||
|
||
Bayesian neural network | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. autoclass:: BNN | ||
:members: | ||
|
||
Recurrent attentive neural process | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
.. autoclass:: RANP | ||
:members: |
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,25 @@ | ||
``ramsey.family`` | ||
================= | ||
|
||
.. currentmodule:: ramsey.family | ||
|
||
.. automodule:: ramsey.family | ||
|
||
Exponential families | ||
-------------------- | ||
|
||
.. autosummary:: | ||
Gaussian | ||
NegativeBinomial | ||
|
||
Gaussian | ||
~~~~~~~~ | ||
|
||
.. autoclass:: Gaussian | ||
:members: | ||
|
||
NegativeBinomial | ||
~~~~~~~~~~~~~~~~ | ||
|
||
.. autoclass:: NegativeBinomial | ||
:members: |
Oops, something went wrong.