Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add update function for learning causal coupling #249

Open
wants to merge 33 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
28152b7
Added example 4 notebook
Oct 30, 2024
7c438ba
Changes in the network and example 4 file
Oct 31, 2024
526526e
Add description to example 4 notebook
Nov 1, 2024
4b69597
Add functions for edge updating
Nov 5, 2024
adf4668
Update causal_functions.py
Nov 6, 2024
c195f23
Updated functions and example
Nov 8, 2024
04c96ff
Updated comments
Nov 8, 2024
84f82a2
Update Example_4_Causal.ipynb
Nov 9, 2024
22821a2
updated example file
Nov 12, 2024
5e9e1c2
Added example 4 notebook
Oct 30, 2024
738f748
Changes in the network and example 4 file
Oct 31, 2024
42b6cfa
Add description to example 4 notebook
Nov 1, 2024
336ba9a
Add functions for edge updating
Nov 5, 2024
989674e
Update causal_functions.py
Nov 6, 2024
025c3ea
Updated functions and example
Nov 8, 2024
d6bc75e
Updated comments
Nov 8, 2024
dc0f395
Update Example_4_Causal.ipynb
Nov 9, 2024
de080d5
updated example file
Nov 12, 2024
0c99872
Update causal functions
Nov 13, 2024
94b0267
Update causal functions
Nov 13, 2024
ff19871
authors
LegrandNico Nov 14, 2024
31c1ab4
add an example of causal update in the tutorial
LegrandNico Nov 14, 2024
3540736
Update example with new update functions
Nov 15, 2024
8c0662b
Update sigmoid transformed coupling
Nov 21, 2024
8756223
update sigmoid causal coupling
Nov 22, 2024
09c80c0
update description causal updating
Nov 22, 2024
1a97672
update sigmoid function for coupling function
Nov 25, 2024
9891093
added KL for measures of freedom and control
Nov 26, 2024
2d20d0f
added agents for simulations
Dec 2, 2024
18b5fab
update agents for simulation
Dec 5, 2024
4c9ffe9
add a working version of the causal prediction errors
LegrandNico Dec 6, 2024
f985462
added plots for agents
Dec 18, 2024
55a5090
updated example notebook
Dec 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/source/learn.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ notebooks/5-Non_linear_value_coupling
notebooks/Example_1_Heart_rate_variability.ipynb
notebooks/Example_2_Input_node_volatility_coupling.ipynb
notebooks/Example_3_Multi_armed_bandit.ipynb
notebooks/Example_4_Causal.ipynb
```

```{toctree}
Expand Down
Binary file added docs/source/notebooks/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/source/notebooks/1.3-Continuous_HGF.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "5dd406c7-b69a-4b92-afe0-7acc39747fba",
"metadata": {
"execution": {
Expand Down
4 changes: 3 additions & 1 deletion docs/source/notebooks/5-Non_linear_value_coupling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"```{tip} Authors\n",
"```{admonition} Authors\n",
":class: tip\n",
"\n",
"- Kora Tristan, Aarhus University, Denmark (kora.montemagno@cas.au.dk)\n",
"- Nicolas Legrand, Aarhus University, Denmark (nicolas.legrand@cas.au.dk)\n",
"```"
Expand Down
162 changes: 84 additions & 78 deletions docs/source/notebooks/Example_3_Multi_armed_bandit.ipynb

Large diffs are not rendered by default.

1,031 changes: 1,031 additions & 0 deletions docs/source/notebooks/Example_4_Causal-NicolasCopy.ipynb

Large diffs are not rendered by default.

Loading