Skip to content

Commit

Permalink
Update README files and add badges
Browse files Browse the repository at this point in the history
  • Loading branch information
dirmeier committed Dec 27, 2021
1 parent a3378e9 commit e844081
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 11 deletions.
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
# Ramsey

[![Project Status](http://www.repostatus.org/badges/latest/concept.svg)](http://www.repostatus.org/#concept)
[![status](http://www.repostatus.org/badges/latest/concept.svg)](http://www.repostatus.org/#concept)
[![ci](https://github.com/dirmeier/ramsey/actions/workflows/ci.yaml/badge.svg)](https://github.com/dirmeier/ramsey/actions/workflows/ci.yaml)
[![codecov](https://codecov.io/gh/dirmeier/ramsey/branch/main/graph/badge.svg)](https://codecov.io/gh/dirmeier/ramsey)
[![codacy](https://app.codacy.com/project/badge/Grade/98715c0867ff4136a9b3a05340a0e6d6)](https://www.codacy.com/gh/dirmeier/ramsey/dashboard?utm_source=github.com&utm_medium=referral&utm_content=dirmeier/ramsey&utm_campaign=Badge_Grade)
[![documentation](https://readthedocs.org/projects/ramsey/badge/?version=latest)](https://ramsey.readthedocs.io/en/latest/?badge=latest)
[![version](https://img.shields.io/pypi/v/ramsey.svg?colorB=black&style=flat)](https://pypi.org/project/ramsey/)

> Probabilistic modelling using Haiku and JAX
## About

Ramsey is a library for probabilistic models using Haiku and JAX.
Ramsey is a library for probabilistic modelling using Haiku and JAX.
It builds upon the same module system that Haiku is using
and is hence fully compatible with Haiku's and NumPyro's API.
Ramsey implements (or rather intends to implement) neural and Gaussian process
models and normalizing flows.

## Installation

To install the latest GitHub release, just call the following on the command line:
To install from PyPI, call:

```bash
pip install git+https://github.com/dirmeier/[email protected]
pip install ramsey
```

To install the latest GitHub <RELEASE>, just call the following on the
command line:

```bash
pip install git+https://github.com/dirmeier/ramsey@<RELEASE>
```

See also the installation instructions for Haiku and JAX.
Expand Down Expand Up @@ -56,8 +65,10 @@ params = neural_process.init(key, x_context=x, y_context=y, x_target=x)

## Why Ramsey

Just as other probabilistic languages are named after researchers in the field (e.g., Stan, Edward, Turing), Ramsey takes
its name from one of my favourite philosophers/mathematicians, [Frank Ramsey](https://plato.stanford.edu/entries/ramsey/).
Just as the names of other probabilistic languages are inspired by researchers in the field
(e.g., Stan, Edward, Turing), Ramsey takes
its name from one of my favourite philosophers/mathematicians,
[Frank Ramsey](https://plato.stanford.edu/entries/ramsey/).

## Author

Expand Down
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
jupyter
matplotlib
nbsphinx
pydata-sphinx-theme
Expand All @@ -6,4 +7,5 @@ sphinx
sphinx_autodoc_typehints
sphinx_fontawesome
sphinx_gallery
sphinx_rtd_theme
sphinxcontrib-fulltoc
21 changes: 16 additions & 5 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Ramsey documentation
====================

Ramsey is a library for probabilistic models using Haiku and JAX.
Ramsey is a library for probabilistic modelling using Haiku and JAX.
It builds upon the same module system that Haiku is using
and is hence fully compatible with Haiku's and NumPyro's API. Ramsey implements
(or rather intends to implement) neural and Gaussian process models.
Expand Down Expand Up @@ -35,19 +35,30 @@ and is hence fully compatible with Haiku's and NumPyro's API. Ramsey implements
Installation
------------

To install the latest GitHub release, just call the following on the command line:

To install from PyPI, call:

.. code-block:: bash
pip install ramsey
To install the latest GitHub <RELEASE>, just call the following on the
command line:

.. code-block:: bash
pip install git+https://github.com/dirmeier/[email protected]
pip install git+https://github.com/dirmeier/ramsey@<RELEASE>
See also the installation instructions for Haiku and JAX.

Why Ramsey
----------

Just as other probabilistic languages are named after researchers in the field (e.g., Stan, Edward, Turing), Ramsey takes
its name from one of my favourite philosophers/mathematicians, `Frank Ramsey <https://plato.stanford.edu/entries/ramsey/>`_.
Just as the names of other probabilistic languages are inspired by researchers in the field
(e.g., Stan, Edward, Turing), Ramsey takes
its name from one of my favourite philosophers/mathematicians,
`Frank Ramsey <https://plato.stanford.edu/entries/ramsey/>`_.

License
-------
Expand Down

0 comments on commit e844081

Please sign in to comment.