Skip to content

Commit

Permalink
API documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
LegrandNico committed Sep 15, 2023
1 parent ded0e23 commit 45fcd17
Showing 1 changed file with 46 additions and 4 deletions.
50 changes: 46 additions & 4 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
API
+++

Updates
-------
Nodes updates
-------------

Update functions used to update the posteriors or predict outcomes of probabilistic nodes. These functions call intenaly the more specific update function listed in the posterior and prediction sections below.

Binary
******

Core functionnalities to update *binary* node structures.
Core functionnalities to update *binary* nodes.

.. currentmodule:: pyhgf.updates.binary

Expand All @@ -32,17 +34,57 @@ Core functionnalities to update *binary* node structures.
Continuous
**********

Core functionnalities to update *continuous* node structures.
Core functionnalities to update *continuous* nodes.

.. currentmodule:: pyhgf.updates.continuous

.. autosummary::
:toctree: generated/pyhgf.updates.continuous

continuous_node_update
continuous_node_prediction
continuous_input_update
continuous_input_prediction
gaussian_surprise

Categorical
***********

Core functionnalities to update *categorical* nodes.

.. currentmodule:: pyhgf.updates.categorical

.. autosummary::
:toctree: generated/pyhgf.updates.categorical

categorical_input_update
dirichlet_kullback_leibler

Posterior updates
-----------------

Continuous
::::::::::

.. currentmodule:: pyhgf.updates.posterior.continuous

.. autosummary::
:toctree: generated/pyhgf.updates.posterior.continuous

update_mean_value_parent
update_precision_value_parent
update_value_parent
update_volatility_parent
update_precision_volatility_parent
update_mean_volatility_parent

Prediction updates
------------------

Continuous
::::::::::


Distribution
------------

Expand Down

0 comments on commit 45fcd17

Please sign in to comment.