diff --git a/.doctrees/environment.pickle b/.doctrees/environment.pickle index 3991a99d0..b3feea114 100644 Binary files a/.doctrees/environment.pickle and b/.doctrees/environment.pickle differ diff --git a/.doctrees/notebooks/0.1-Theory.doctree b/.doctrees/notebooks/0.1-Theory.doctree index ac617f958..518670322 100644 Binary files a/.doctrees/notebooks/0.1-Theory.doctree and b/.doctrees/notebooks/0.1-Theory.doctree differ diff --git a/.doctrees/notebooks/0.2-Creating_networks.doctree b/.doctrees/notebooks/0.2-Creating_networks.doctree index 5c788def1..5fa163782 100644 Binary files a/.doctrees/notebooks/0.2-Creating_networks.doctree and b/.doctrees/notebooks/0.2-Creating_networks.doctree differ diff --git a/.doctrees/notebooks/0.3-Generalised_filtering.doctree b/.doctrees/notebooks/0.3-Generalised_filtering.doctree index 2e530fc29..01b69868b 100644 Binary files a/.doctrees/notebooks/0.3-Generalised_filtering.doctree and b/.doctrees/notebooks/0.3-Generalised_filtering.doctree differ diff --git a/.doctrees/notebooks/1.1-Binary_HGF.doctree b/.doctrees/notebooks/1.1-Binary_HGF.doctree index c8988527b..7e29e1848 100644 Binary files a/.doctrees/notebooks/1.1-Binary_HGF.doctree and b/.doctrees/notebooks/1.1-Binary_HGF.doctree differ diff --git a/.doctrees/notebooks/1.2-Categorical_HGF.doctree b/.doctrees/notebooks/1.2-Categorical_HGF.doctree index 8f23dbda9..10b572055 100644 Binary files a/.doctrees/notebooks/1.2-Categorical_HGF.doctree and b/.doctrees/notebooks/1.2-Categorical_HGF.doctree differ diff --git a/.doctrees/notebooks/1.3-Continuous_HGF.doctree b/.doctrees/notebooks/1.3-Continuous_HGF.doctree index ccec53827..818f00742 100644 Binary files a/.doctrees/notebooks/1.3-Continuous_HGF.doctree and b/.doctrees/notebooks/1.3-Continuous_HGF.doctree differ diff --git a/.doctrees/notebooks/2-Using_custom_response_functions.doctree b/.doctrees/notebooks/2-Using_custom_response_functions.doctree index 620bb4f7c..4e52357e1 100644 Binary files a/.doctrees/notebooks/2-Using_custom_response_functions.doctree and b/.doctrees/notebooks/2-Using_custom_response_functions.doctree differ diff --git a/.doctrees/notebooks/3-Multilevel_HGF.doctree b/.doctrees/notebooks/3-Multilevel_HGF.doctree index cc2791ec4..694d973b1 100644 Binary files a/.doctrees/notebooks/3-Multilevel_HGF.doctree and b/.doctrees/notebooks/3-Multilevel_HGF.doctree differ diff --git a/.doctrees/notebooks/4-Parameter_recovery.doctree b/.doctrees/notebooks/4-Parameter_recovery.doctree index 11315366a..b026fd637 100644 Binary files a/.doctrees/notebooks/4-Parameter_recovery.doctree and b/.doctrees/notebooks/4-Parameter_recovery.doctree differ diff --git a/.doctrees/notebooks/Example_1_Heart_rate_variability.doctree b/.doctrees/notebooks/Example_1_Heart_rate_variability.doctree index e5f65b519..9be562849 100644 Binary files a/.doctrees/notebooks/Example_1_Heart_rate_variability.doctree and b/.doctrees/notebooks/Example_1_Heart_rate_variability.doctree differ diff --git a/.doctrees/notebooks/Example_2_Input_node_volatility_coupling.doctree b/.doctrees/notebooks/Example_2_Input_node_volatility_coupling.doctree index 947da8b4d..a7bb376f5 100644 Binary files a/.doctrees/notebooks/Example_2_Input_node_volatility_coupling.doctree and b/.doctrees/notebooks/Example_2_Input_node_volatility_coupling.doctree differ diff --git a/.doctrees/notebooks/Example_3_Multi_armed_bandit.doctree b/.doctrees/notebooks/Example_3_Multi_armed_bandit.doctree index b691cda2e..43468e0eb 100644 Binary files a/.doctrees/notebooks/Example_3_Multi_armed_bandit.doctree and b/.doctrees/notebooks/Example_3_Multi_armed_bandit.doctree differ diff --git a/.doctrees/notebooks/Exercise_1_Using_the_HGF.doctree b/.doctrees/notebooks/Exercise_1_Using_the_HGF.doctree index 1343fce4d..c3ff28968 100644 Binary files a/.doctrees/notebooks/Exercise_1_Using_the_HGF.doctree and b/.doctrees/notebooks/Exercise_1_Using_the_HGF.doctree differ diff --git a/_images/01e6d3261f75da5122173932394594e8f801e0ede1b283eedc993599194d08ff.png b/_images/01e6d3261f75da5122173932394594e8f801e0ede1b283eedc993599194d08ff.png new file mode 100644 index 000000000..3266ea49b Binary files /dev/null and b/_images/01e6d3261f75da5122173932394594e8f801e0ede1b283eedc993599194d08ff.png differ diff --git a/_images/05c6bc13e1b0ddd904075fc5039f0199274a997ea06ae05a4750754dcd2ce6f1.png b/_images/05c6bc13e1b0ddd904075fc5039f0199274a997ea06ae05a4750754dcd2ce6f1.png deleted file mode 100644 index 80bc7059d..000000000 Binary files a/_images/05c6bc13e1b0ddd904075fc5039f0199274a997ea06ae05a4750754dcd2ce6f1.png and /dev/null differ diff --git a/_images/276f245ebd9fd4bcae5e926f51a69ac0c4a8b7994776641b7ca80207aba0e073.svg b/_images/0747ca4d2db1d73075db0036fa2d7adb40e86a06d3c587c73103c1d2a5698bb6.svg similarity index 100% rename from _images/276f245ebd9fd4bcae5e926f51a69ac0c4a8b7994776641b7ca80207aba0e073.svg rename to _images/0747ca4d2db1d73075db0036fa2d7adb40e86a06d3c587c73103c1d2a5698bb6.svg index 3cf39a20b..331b7e5d2 100644 --- a/_images/276f245ebd9fd4bcae5e926f51a69ac0c4a8b7994776641b7ca80207aba0e073.svg +++ b/_images/0747ca4d2db1d73075db0036fa2d7adb40e86a06d3c587c73103c1d2a5698bb6.svg @@ -9,22 +9,22 @@ %3 - - -tonic_volatility_1 - -tonic_volatility_1 -~ -Normal - - + hgf_loglike hgf_loglike ~ Potential + + +tonic_volatility_1 + +tonic_volatility_1 +~ +Normal + tonic_volatility_1->hgf_loglike diff --git a/_images/0b5b263dfb2ae68ee636483cb779ee2da377fa42065a2ea52b58506738cd3d25.png b/_images/0b5b263dfb2ae68ee636483cb779ee2da377fa42065a2ea52b58506738cd3d25.png new file mode 100644 index 000000000..5de5f06d8 Binary files /dev/null and b/_images/0b5b263dfb2ae68ee636483cb779ee2da377fa42065a2ea52b58506738cd3d25.png differ diff --git a/_images/0dcc76894775299d36c4cf83ff986eebcfb13c3d302dc2154d53cd48857d4709.png b/_images/0dcc76894775299d36c4cf83ff986eebcfb13c3d302dc2154d53cd48857d4709.png deleted file mode 100644 index 57eedcff2..000000000 Binary files a/_images/0dcc76894775299d36c4cf83ff986eebcfb13c3d302dc2154d53cd48857d4709.png and /dev/null differ diff --git a/_images/14f5c858274eb145476c03a7553d95e8f46705f811e90b1c2256458b8b088d9c.png b/_images/14f5c858274eb145476c03a7553d95e8f46705f811e90b1c2256458b8b088d9c.png deleted file mode 100644 index f5ca81c57..000000000 Binary files a/_images/14f5c858274eb145476c03a7553d95e8f46705f811e90b1c2256458b8b088d9c.png and /dev/null differ diff --git a/_images/1d8440e8d2dbccda4d8f83ff45c4944b99658aaae4cf1cd17a3d5f050d3f0fd2.png b/_images/1d8440e8d2dbccda4d8f83ff45c4944b99658aaae4cf1cd17a3d5f050d3f0fd2.png new file mode 100644 index 000000000..cc23559f6 Binary files /dev/null and b/_images/1d8440e8d2dbccda4d8f83ff45c4944b99658aaae4cf1cd17a3d5f050d3f0fd2.png differ diff --git a/_images/20aed8c25c051427524ef68af62cad1fb1dfa59112a736008df23479167ed877.png b/_images/20aed8c25c051427524ef68af62cad1fb1dfa59112a736008df23479167ed877.png new file mode 100644 index 000000000..5c2dfb41a Binary files /dev/null and b/_images/20aed8c25c051427524ef68af62cad1fb1dfa59112a736008df23479167ed877.png differ diff --git a/_images/2961f8b766ae8107981c64fb51420ee634f5d9c4afcf9861dfccf440dec2cb88.png b/_images/2961f8b766ae8107981c64fb51420ee634f5d9c4afcf9861dfccf440dec2cb88.png deleted file mode 100644 index c34f53a60..000000000 Binary files a/_images/2961f8b766ae8107981c64fb51420ee634f5d9c4afcf9861dfccf440dec2cb88.png and /dev/null differ diff --git a/_images/2a3315bceb94f95511bfd447a3273efdf90ea2d07a110b4f3908dd115c3d8c6d.png b/_images/2a3315bceb94f95511bfd447a3273efdf90ea2d07a110b4f3908dd115c3d8c6d.png new file mode 100644 index 000000000..f36656c12 Binary files /dev/null and b/_images/2a3315bceb94f95511bfd447a3273efdf90ea2d07a110b4f3908dd115c3d8c6d.png differ diff --git a/_images/2d7e7041d7eb87d2a19e5735a0f127f9a410bd252dfcf0afdae6b3a9fde9d571.png b/_images/2d7e7041d7eb87d2a19e5735a0f127f9a410bd252dfcf0afdae6b3a9fde9d571.png new file mode 100644 index 000000000..318e3cdb7 Binary files /dev/null and b/_images/2d7e7041d7eb87d2a19e5735a0f127f9a410bd252dfcf0afdae6b3a9fde9d571.png differ diff --git a/_images/3196790868bd68409526f9b44b04f37b5ef45d1ac49b25709797b8f4f963da2e.png b/_images/3196790868bd68409526f9b44b04f37b5ef45d1ac49b25709797b8f4f963da2e.png new file mode 100644 index 000000000..6e7d905a4 Binary files /dev/null and b/_images/3196790868bd68409526f9b44b04f37b5ef45d1ac49b25709797b8f4f963da2e.png differ diff --git a/_images/36c13a02689a9caca03b6530c4291f815700a434b39f1113d160603ed3b1dd56.png b/_images/36c13a02689a9caca03b6530c4291f815700a434b39f1113d160603ed3b1dd56.png deleted file mode 100644 index 5bd472a28..000000000 Binary files a/_images/36c13a02689a9caca03b6530c4291f815700a434b39f1113d160603ed3b1dd56.png and /dev/null differ diff --git a/_images/41b3cabc220bae661b1741aaf01fcb506ca896a1b3ea88ee99ede87abeb98e6d.png b/_images/41b3cabc220bae661b1741aaf01fcb506ca896a1b3ea88ee99ede87abeb98e6d.png deleted file mode 100644 index 039ab56fc..000000000 Binary files a/_images/41b3cabc220bae661b1741aaf01fcb506ca896a1b3ea88ee99ede87abeb98e6d.png and /dev/null differ diff --git a/_images/4708f16642a2dd9022b3b79a3c3ad04c597fb77def7eeabbdc48559af45de3b8.svg b/_images/4708f16642a2dd9022b3b79a3c3ad04c597fb77def7eeabbdc48559af45de3b8.svg new file mode 100644 index 000000000..5026d4710 --- /dev/null +++ b/_images/4708f16642a2dd9022b3b79a3c3ad04c597fb77def7eeabbdc48559af45de3b8.svg @@ -0,0 +1,110 @@ + + + + + + +%3 + + +cluster10 + +10 + + + +sigma_volatility + +sigma_volatility +~ +HalfNormal + + + +volatility + +volatility +~ +Normal + + + +sigma_volatility->volatility + + + + + +mu_temperature + +mu_temperature +~ +Normal + + + +inverse_temperature + +inverse_temperature +~ +LogNormal + + + +mu_temperature->inverse_temperature + + + + + +hgf_loglike + +hgf_loglike +~ +Potential + + + +mu_volatility + +mu_volatility +~ +Normal + + + +mu_volatility->volatility + + + + + +sigma_temperature + +sigma_temperature +~ +HalfNormal + + + +sigma_temperature->inverse_temperature + + + + + +inverse_temperature->hgf_loglike + + + + + +volatility->hgf_loglike + + + + + \ No newline at end of file diff --git a/_images/51121463bc65570c8d8de9b47cb9e725944cb75259f478411b25e5e9bced8a5d.png b/_images/51121463bc65570c8d8de9b47cb9e725944cb75259f478411b25e5e9bced8a5d.png new file mode 100644 index 000000000..b273bfff9 Binary files /dev/null and b/_images/51121463bc65570c8d8de9b47cb9e725944cb75259f478411b25e5e9bced8a5d.png differ diff --git a/_images/567d6d69706bd90ba9c5e563596fe7e9c1a4eebaa62b631318bc262e9ac7602e.png b/_images/567d6d69706bd90ba9c5e563596fe7e9c1a4eebaa62b631318bc262e9ac7602e.png new file mode 100644 index 000000000..ab2332b42 Binary files /dev/null and b/_images/567d6d69706bd90ba9c5e563596fe7e9c1a4eebaa62b631318bc262e9ac7602e.png differ diff --git a/_images/5c5bd2994cfad74ed78b73adbfc5ae89c38eb13d00f2b8a9af3e9382312d41e9.png b/_images/5c5bd2994cfad74ed78b73adbfc5ae89c38eb13d00f2b8a9af3e9382312d41e9.png new file mode 100644 index 000000000..abeb2262d Binary files /dev/null and b/_images/5c5bd2994cfad74ed78b73adbfc5ae89c38eb13d00f2b8a9af3e9382312d41e9.png differ diff --git a/_images/5f878726cec41a40bfdd59e593d4a2f4c5200c8c3f853bc29ab44a40699abb3f.png b/_images/5f878726cec41a40bfdd59e593d4a2f4c5200c8c3f853bc29ab44a40699abb3f.png new file mode 100644 index 000000000..1251fb976 Binary files /dev/null and b/_images/5f878726cec41a40bfdd59e593d4a2f4c5200c8c3f853bc29ab44a40699abb3f.png differ diff --git a/_images/5f8c31614bcfbf4481eecfb215d4009cdde2b9df1ac4e1743ffbf98a02924c30.png b/_images/5f8c31614bcfbf4481eecfb215d4009cdde2b9df1ac4e1743ffbf98a02924c30.png deleted file mode 100644 index 63e38f4c4..000000000 Binary files a/_images/5f8c31614bcfbf4481eecfb215d4009cdde2b9df1ac4e1743ffbf98a02924c30.png and /dev/null differ diff --git a/_images/693741ae601f9156e52a956ea6bc92f11026d19f8e3b4f4ffb4300d2753fe9cc.png b/_images/693741ae601f9156e52a956ea6bc92f11026d19f8e3b4f4ffb4300d2753fe9cc.png deleted file mode 100644 index 6eb0cba69..000000000 Binary files a/_images/693741ae601f9156e52a956ea6bc92f11026d19f8e3b4f4ffb4300d2753fe9cc.png and /dev/null differ diff --git a/_images/6997877b60aae9503375ff4943e939bf7cf1b85f46d40a2551acb4773cf5c928.png b/_images/6997877b60aae9503375ff4943e939bf7cf1b85f46d40a2551acb4773cf5c928.png deleted file mode 100644 index c79131721..000000000 Binary files a/_images/6997877b60aae9503375ff4943e939bf7cf1b85f46d40a2551acb4773cf5c928.png and /dev/null differ diff --git a/_images/6db6f4620a292d23f0effdbd613a7ec75c403080b6cc5f533a92d5062c71ec26.png b/_images/6db6f4620a292d23f0effdbd613a7ec75c403080b6cc5f533a92d5062c71ec26.png deleted file mode 100644 index 8d2da2067..000000000 Binary files a/_images/6db6f4620a292d23f0effdbd613a7ec75c403080b6cc5f533a92d5062c71ec26.png and /dev/null differ diff --git a/_images/71bfd07a623c863a6c4f4b7ad23791fb24a0777368a0f98ed050fc05708be5b7.png b/_images/71bfd07a623c863a6c4f4b7ad23791fb24a0777368a0f98ed050fc05708be5b7.png new file mode 100644 index 000000000..ae88b3215 Binary files /dev/null and b/_images/71bfd07a623c863a6c4f4b7ad23791fb24a0777368a0f98ed050fc05708be5b7.png differ diff --git a/_images/725ab1edee9c0b9a86e45713f2735ab6c551a4afd13330a959f3a02c1962ec10.png b/_images/725ab1edee9c0b9a86e45713f2735ab6c551a4afd13330a959f3a02c1962ec10.png deleted file mode 100644 index c5396241e..000000000 Binary files a/_images/725ab1edee9c0b9a86e45713f2735ab6c551a4afd13330a959f3a02c1962ec10.png and /dev/null differ diff --git a/_images/763518eed196e37d669000561f4d9c2070f4e406abe4aa4d18a59eabad473e29.png b/_images/763518eed196e37d669000561f4d9c2070f4e406abe4aa4d18a59eabad473e29.png new file mode 100644 index 000000000..e8e128bdc Binary files /dev/null and b/_images/763518eed196e37d669000561f4d9c2070f4e406abe4aa4d18a59eabad473e29.png differ diff --git a/_images/8b4761fe40abbc4eab49534359b64a1b771d330fd046cb297f760bf0d4aec020.png b/_images/8b4761fe40abbc4eab49534359b64a1b771d330fd046cb297f760bf0d4aec020.png new file mode 100644 index 000000000..84a27f0a5 Binary files /dev/null and b/_images/8b4761fe40abbc4eab49534359b64a1b771d330fd046cb297f760bf0d4aec020.png differ diff --git a/_images/8fc9c210ab62f5dd9a3be3ce533d3c8c7ee05351b66a0f94da4f8a26be10ae39.svg b/_images/8f02834ccc45a1fbb4bd4aabfac2d75a89a86b3ef90438ded772ac7bf43de688.svg similarity index 100% rename from _images/8fc9c210ab62f5dd9a3be3ce533d3c8c7ee05351b66a0f94da4f8a26be10ae39.svg rename to _images/8f02834ccc45a1fbb4bd4aabfac2d75a89a86b3ef90438ded772ac7bf43de688.svg index a85f1c417..0255e9b57 100644 --- a/_images/8fc9c210ab62f5dd9a3be3ce533d3c8c7ee05351b66a0f94da4f8a26be10ae39.svg +++ b/_images/8f02834ccc45a1fbb4bd4aabfac2d75a89a86b3ef90438ded772ac7bf43de688.svg @@ -9,22 +9,22 @@ %3 - - -tonic_volatility_2 - -tonic_volatility_2 -~ -Normal - - + hgf_loglike hgf_loglike ~ Potential + + +tonic_volatility_2 + +tonic_volatility_2 +~ +Normal + tonic_volatility_2->hgf_loglike diff --git a/_images/936ebb60a229ec508b442b49bf9f177f75fa7ecc46bb0de0b9480abd948cb41d.png b/_images/936ebb60a229ec508b442b49bf9f177f75fa7ecc46bb0de0b9480abd948cb41d.png deleted file mode 100644 index 2d4943ee1..000000000 Binary files a/_images/936ebb60a229ec508b442b49bf9f177f75fa7ecc46bb0de0b9480abd948cb41d.png and /dev/null differ diff --git a/_images/9507cc9bd1c654ecae2c56ea1a4394a3a12848d8e118f99dbec0363470b96622.png b/_images/9507cc9bd1c654ecae2c56ea1a4394a3a12848d8e118f99dbec0363470b96622.png deleted file mode 100644 index 713e3cf6c..000000000 Binary files a/_images/9507cc9bd1c654ecae2c56ea1a4394a3a12848d8e118f99dbec0363470b96622.png and /dev/null differ diff --git a/_images/98778b681271378b11083a9cc8d36729e81243b0a3b4ff84431d5fc435a8ef6b.svg b/_images/98778b681271378b11083a9cc8d36729e81243b0a3b4ff84431d5fc435a8ef6b.svg deleted file mode 100644 index d54e3eace..000000000 --- a/_images/98778b681271378b11083a9cc8d36729e81243b0a3b4ff84431d5fc435a8ef6b.svg +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - -%3 - - -cluster10 - -10 - - - -hgf_loglike - -hgf_loglike -~ -Potential - - - -sigma_temperature - -sigma_temperature -~ -HalfNormal - - - -inverse_temperature - -inverse_temperature -~ -LogNormal - - - -sigma_temperature->inverse_temperature - - - - - -sigma_volatility - -sigma_volatility -~ -HalfNormal - - - -volatility - -volatility -~ -Normal - - - -sigma_volatility->volatility - - - - - -mu_temperature - -mu_temperature -~ -Normal - - - -mu_temperature->inverse_temperature - - - - - -mu_volatility - -mu_volatility -~ -Normal - - - -mu_volatility->volatility - - - - - -volatility->hgf_loglike - - - - - -inverse_temperature->hgf_loglike - - - - - \ No newline at end of file diff --git a/_images/a134019a380878644b7d8b1a12a2d3cccc4ee9f3ba023a6e9a4c838a8f96f63b.png b/_images/a134019a380878644b7d8b1a12a2d3cccc4ee9f3ba023a6e9a4c838a8f96f63b.png new file mode 100644 index 000000000..01026fd34 Binary files /dev/null and b/_images/a134019a380878644b7d8b1a12a2d3cccc4ee9f3ba023a6e9a4c838a8f96f63b.png differ diff --git a/_images/ab312f445ee2f33b25406c246cdc83ddc030830067f9d697b8bf9f3bab39d8ed.png b/_images/ab312f445ee2f33b25406c246cdc83ddc030830067f9d697b8bf9f3bab39d8ed.png new file mode 100644 index 000000000..8f1418636 Binary files /dev/null and b/_images/ab312f445ee2f33b25406c246cdc83ddc030830067f9d697b8bf9f3bab39d8ed.png differ diff --git a/_images/aba693367160c76db95a3b9a966f2749c9e68eca3f3b34736f1a06408872e42d.png b/_images/aba693367160c76db95a3b9a966f2749c9e68eca3f3b34736f1a06408872e42d.png deleted file mode 100644 index eb2558215..000000000 Binary files a/_images/aba693367160c76db95a3b9a966f2749c9e68eca3f3b34736f1a06408872e42d.png and /dev/null differ diff --git a/_images/b0338a780119e94999fa182f5a7e27a32469b58f9ec22155784e58cb14238ccb.png b/_images/b0338a780119e94999fa182f5a7e27a32469b58f9ec22155784e58cb14238ccb.png new file mode 100644 index 000000000..33f310e19 Binary files /dev/null and b/_images/b0338a780119e94999fa182f5a7e27a32469b58f9ec22155784e58cb14238ccb.png differ diff --git a/_images/b1d98fa55589310f678c20e7c4c2956fff2f458e8413d588a6c66392aee971a7.png b/_images/b1d98fa55589310f678c20e7c4c2956fff2f458e8413d588a6c66392aee971a7.png deleted file mode 100644 index 4ce14c3a9..000000000 Binary files a/_images/b1d98fa55589310f678c20e7c4c2956fff2f458e8413d588a6c66392aee971a7.png and /dev/null differ diff --git a/_images/bb3e9bd5e38c5ae06a2bd74b823e03ccbeed39b4a4c4c4f777658f57d132dec8.png b/_images/bb3e9bd5e38c5ae06a2bd74b823e03ccbeed39b4a4c4c4f777658f57d132dec8.png new file mode 100644 index 000000000..542f2962a Binary files /dev/null and b/_images/bb3e9bd5e38c5ae06a2bd74b823e03ccbeed39b4a4c4c4f777658f57d132dec8.png differ diff --git a/_images/be812af012a1978d3ca688cb36fc31f4bc1501c1d7a723f2405f4f7059cd4096.png b/_images/be812af012a1978d3ca688cb36fc31f4bc1501c1d7a723f2405f4f7059cd4096.png new file mode 100644 index 000000000..04b87681b Binary files /dev/null and b/_images/be812af012a1978d3ca688cb36fc31f4bc1501c1d7a723f2405f4f7059cd4096.png differ diff --git a/_images/cd4ae40aa47ba2894bb03958b9aedb50dc7ea679106fd873dfb2844c8438a68c.png b/_images/cd4ae40aa47ba2894bb03958b9aedb50dc7ea679106fd873dfb2844c8438a68c.png deleted file mode 100644 index ec2331a70..000000000 Binary files a/_images/cd4ae40aa47ba2894bb03958b9aedb50dc7ea679106fd873dfb2844c8438a68c.png and /dev/null differ diff --git a/_images/cf20e82cf7efad8c56b42aa88ec317db38c0aecbd725874fc6f4e939037e7e70.png b/_images/cf20e82cf7efad8c56b42aa88ec317db38c0aecbd725874fc6f4e939037e7e70.png deleted file mode 100644 index 625b87014..000000000 Binary files a/_images/cf20e82cf7efad8c56b42aa88ec317db38c0aecbd725874fc6f4e939037e7e70.png and /dev/null differ diff --git a/_images/d38733fb3e1c27d07624fab7644d58256a46a860d53a4a8843d8624486366b75.png b/_images/d38733fb3e1c27d07624fab7644d58256a46a860d53a4a8843d8624486366b75.png new file mode 100644 index 000000000..28c39c0d9 Binary files /dev/null and b/_images/d38733fb3e1c27d07624fab7644d58256a46a860d53a4a8843d8624486366b75.png differ diff --git a/_images/e0278434d5774ed9bb901d6426d3e240be1d4faf78c41d443663326c03e24707.png b/_images/e0278434d5774ed9bb901d6426d3e240be1d4faf78c41d443663326c03e24707.png deleted file mode 100644 index e62d672d5..000000000 Binary files a/_images/e0278434d5774ed9bb901d6426d3e240be1d4faf78c41d443663326c03e24707.png and /dev/null differ diff --git a/_images/69539e2739458d7218e514133841304a4e4b0eb711fc8054497123f2e226d095.svg b/_images/e3093df40c606a365fce51328bb90c832e9b204e89fed0d0688e3e2fdb1677dd.svg similarity index 100% rename from _images/69539e2739458d7218e514133841304a4e4b0eb711fc8054497123f2e226d095.svg rename to _images/e3093df40c606a365fce51328bb90c832e9b204e89fed0d0688e3e2fdb1677dd.svg index 02b4163cb..6acc91819 100644 --- a/_images/69539e2739458d7218e514133841304a4e4b0eb711fc8054497123f2e226d095.svg +++ b/_images/e3093df40c606a365fce51328bb90c832e9b204e89fed0d0688e3e2fdb1677dd.svg @@ -9,22 +9,22 @@ %3 - - -hgf_loglike - -hgf_loglike -~ -Potential - - + tonic_volatility_3 tonic_volatility_3 ~ Normal + + +hgf_loglike + +hgf_loglike +~ +Potential + tonic_volatility_3->hgf_loglike @@ -32,7 +32,7 @@ - + tonic_volatility_2 tonic_volatility_2 diff --git a/_images/e3de64beff5bc17cc47783936c7f3d947a42f11f1ac3796f9a3ae9f0623fd54d.png b/_images/e3de64beff5bc17cc47783936c7f3d947a42f11f1ac3796f9a3ae9f0623fd54d.png deleted file mode 100644 index 2cc07f2c7..000000000 Binary files a/_images/e3de64beff5bc17cc47783936c7f3d947a42f11f1ac3796f9a3ae9f0623fd54d.png and /dev/null differ diff --git a/_images/e43fbff375c6cadc9a178a6909dc6edd05c565b9e0a5cc703c9b87c7c5ff76b8.png b/_images/e43fbff375c6cadc9a178a6909dc6edd05c565b9e0a5cc703c9b87c7c5ff76b8.png deleted file mode 100644 index 0c28e1c09..000000000 Binary files a/_images/e43fbff375c6cadc9a178a6909dc6edd05c565b9e0a5cc703c9b87c7c5ff76b8.png and /dev/null differ diff --git a/_images/e4a5e3c46408f0f75b0e059879a14b37d9c0c5b3be464bf65dd63789029d7f7d.png b/_images/e4a5e3c46408f0f75b0e059879a14b37d9c0c5b3be464bf65dd63789029d7f7d.png deleted file mode 100644 index 923e3f260..000000000 Binary files a/_images/e4a5e3c46408f0f75b0e059879a14b37d9c0c5b3be464bf65dd63789029d7f7d.png and /dev/null differ diff --git a/_images/e64e782097f5ce3eade0aed6c4c4b97ca7ab819522e063df6abc74a7c59c505f.png b/_images/e64e782097f5ce3eade0aed6c4c4b97ca7ab819522e063df6abc74a7c59c505f.png new file mode 100644 index 000000000..eba57bf6a Binary files /dev/null and b/_images/e64e782097f5ce3eade0aed6c4c4b97ca7ab819522e063df6abc74a7c59c505f.png differ diff --git a/_images/eeecc1cea1a493ef0961764a53b5dd248ed99fc5c6aca89d2ffb4bff582ae5ac.png b/_images/eeecc1cea1a493ef0961764a53b5dd248ed99fc5c6aca89d2ffb4bff582ae5ac.png new file mode 100644 index 000000000..3b6a59bab Binary files /dev/null and b/_images/eeecc1cea1a493ef0961764a53b5dd248ed99fc5c6aca89d2ffb4bff582ae5ac.png differ diff --git a/_images/fa014659fce39d9e7857bc113aa2fde299c83e23f05f7a22579baa5f6eba64ac.png b/_images/fa014659fce39d9e7857bc113aa2fde299c83e23f05f7a22579baa5f6eba64ac.png new file mode 100644 index 000000000..a42b08510 Binary files /dev/null and b/_images/fa014659fce39d9e7857bc113aa2fde299c83e23f05f7a22579baa5f6eba64ac.png differ diff --git a/_images/fc7074add4190d6dbba0e8d6ebaa7993058ed9fd59f55cff33003ae0c0b6a576.png b/_images/fc7074add4190d6dbba0e8d6ebaa7993058ed9fd59f55cff33003ae0c0b6a576.png new file mode 100644 index 000000000..7456dd4a8 Binary files /dev/null and b/_images/fc7074add4190d6dbba0e8d6ebaa7993058ed9fd59f55cff33003ae0c0b6a576.png differ diff --git a/_images/fd032f2350ea681dfb89be3ed39cc0db4511c1b397a93b3c13de0a96472caab1.png b/_images/fd032f2350ea681dfb89be3ed39cc0db4511c1b397a93b3c13de0a96472caab1.png deleted file mode 100644 index 1d68e3728..000000000 Binary files a/_images/fd032f2350ea681dfb89be3ed39cc0db4511c1b397a93b3c13de0a96472caab1.png and /dev/null differ diff --git a/_images/fe8bcf1f9ea76075d8fcc0d29e68955ab7e149a760580d41229e04431f544140.png b/_images/fe8bcf1f9ea76075d8fcc0d29e68955ab7e149a760580d41229e04431f544140.png deleted file mode 100644 index 95eb53902..000000000 Binary files a/_images/fe8bcf1f9ea76075d8fcc0d29e68955ab7e149a760580d41229e04431f544140.png and /dev/null differ diff --git a/_images/fec56c3b25907362b1252355dd1385f1eb8a04c9617d9dc9b20da45c6175a385.png b/_images/fec56c3b25907362b1252355dd1385f1eb8a04c9617d9dc9b20da45c6175a385.png deleted file mode 100644 index 8eeb467cd..000000000 Binary files a/_images/fec56c3b25907362b1252355dd1385f1eb8a04c9617d9dc9b20da45c6175a385.png and /dev/null differ diff --git a/notebooks/0.1-Theory.html b/notebooks/0.1-Theory.html index d707557df..ca82bb6b5 100644 --- a/notebooks/0.1-Theory.html +++ b/notebooks/0.1-Theory.html @@ -913,9 +913,9 @@

System configurationContinuous value coupling -../_images/fe8bcf1f9ea76075d8fcc0d29e68955ab7e149a760580d41229e04431f544140.png +../_images/5c5bd2994cfad74ed78b73adbfc5ae89c38eb13d00f2b8a9af3e9382312d41e9.png diff --git a/notebooks/0.3-Generalised_filtering.html b/notebooks/0.3-Generalised_filtering.html index 27f96ef20..b95bba3ea 100644 --- a/notebooks/0.3-Generalised_filtering.html +++ b/notebooks/0.3-Generalised_filtering.html @@ -945,10 +945,10 @@

System configuration diff --git a/notebooks/1.1-Binary_HGF.html b/notebooks/1.1-Binary_HGF.html index 01dac9e4c..22a369b51 100644 --- a/notebooks/1.1-Binary_HGF.html +++ b/notebooks/1.1-Binary_HGF.html @@ -51,7 +51,7 @@ - + @@ -792,7 +792,7 @@

Sampling self.pid = os.fork() -
-../_images/aba693367160c76db95a3b9a966f2749c9e68eca3f3b34736f1a06408872e42d.png +../_images/567d6d69706bd90ba9c5e563596fe7e9c1a4eebaa62b631318bc262e9ac7602e.png
@@ -853,7 +853,7 @@

Using the learned parameters -../_images/693741ae601f9156e52a956ea6bc92f11026d19f8e3b4f4ffb4300d2753fe9cc.png +../_images/51121463bc65570c8d8de9b47cb9e725944cb75259f478411b25e5e9bced8a5d.png
@@ -944,11 +944,7 @@

Sampling# self.pid = os.fork() -
/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
-  self.pid = os.fork()
-
-
-

+

 
 
Sampling 2 chains for 1_000 tune and 1_000 draw iterations (2_000 + 2_000 draws total) took 21 seconds.
@@ -967,7 +963,7 @@ 

Sampling#

-../_images/e0278434d5774ed9bb901d6426d3e240be1d4faf78c41d443663326c03e24707.png +../_images/bb3e9bd5e38c5ae06a2bd74b823e03ccbeed39b4a4c4c4f777658f57d132dec8.png

@@ -1006,7 +1002,7 @@

Using the learned parameters -../_images/14f5c858274eb145476c03a7553d95e8f46705f811e90b1c2256458b8b088d9c.png +../_images/0b5b263dfb2ae68ee636483cb779ee2da377fa42065a2ea52b58506738cd3d25.png
-../_images/6997877b60aae9503375ff4943e939bf7cf1b85f46d40a2551acb4773cf5c928.png +../_images/763518eed196e37d669000561f4d9c2070f4e406abe4aa4d18a59eabad473e29.png
@@ -847,14 +847,14 @@

System configuration diff --git a/notebooks/1.3-Continuous_HGF.html b/notebooks/1.3-Continuous_HGF.html index 3d731d096..f2c7aa8c3 100644 --- a/notebooks/1.3-Continuous_HGF.html +++ b/notebooks/1.3-Continuous_HGF.html @@ -51,7 +51,7 @@ - + @@ -817,7 +817,7 @@

Visualizing the model
-../_images/276f245ebd9fd4bcae5e926f51a69ac0c4a8b7994776641b7ca80207aba0e073.svg
+../_images/0747ca4d2db1d73075db0036fa2d7adb40e86a06d3c587c73103c1d2a5698bb6.svg
@@ -846,14 +846,10 @@

Sampling self.pid = os.fork() -
/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
-  self.pid = os.fork()
-
-
-

@@ -904,7 +900,7 @@

Using the learned parameters -../_images/5f8c31614bcfbf4481eecfb215d4009cdde2b9df1ac4e1743ffbf98a02924c30.png +../_images/fa014659fce39d9e7857bc113aa2fde299c83e23f05f7a22579baa5f6eba64ac.png
@@ -993,15 +989,16 @@

Sampling# self.pid = os.fork() -

+
/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
+  self.pid = os.fork()
+
+
+

 
 
Sampling 2 chains for 1_000 tune and 1_000 draw iterations (2_000 + 2_000 draws total) took 23 seconds.
 
-
There were 1 divergences after tuning. Increase `target_accept` or reparameterize.
-
-
We recommend running at least 4 chains for robust computation of convergence diagnostics
 
@@ -1015,7 +1012,7 @@

Sampling#

-../_images/6db6f4620a292d23f0effdbd613a7ec75c403080b6cc5f533a92d5062c71ec26.png +../_images/d38733fb3e1c27d07624fab7644d58256a46a860d53a4a8843d8624486366b75.png

@@ -1049,7 +1046,7 @@

Using the learned parameters -../_images/fec56c3b25907362b1252355dd1385f1eb8a04c9617d9dc9b20da45c6175a385.png +../_images/be812af012a1978d3ca688cb36fc31f4bc1501c1d7a723f2405f4f7059cd4096.png
@@ -1059,7 +1056,7 @@

Using the learned parameters -
Array(-1118.0265, dtype=float32)
+
Array(-1118.005, dtype=float32)
 
@@ -1087,11 +1084,11 @@

System configurationvar togglebuttonSelector = '.toggle, .admonition.dropdown'; - + @@ -888,13 +888,13 @@

Recovering HGF parameters from the observed behaviors
NUTS: [tonic_volatility_2]
 

-

+

 
 
-

+

 
 
-
+

../_images/e4a5e3c46408f0f75b0e059879a14b37d9c0c5b3be464bf65dd63789029d7f7d.png +../_images/2a3315bceb94f95511bfd447a3273efdf90ea2d07a110b4f3908dd115c3d8c6d.png

The results above indicate that given the responses provided by the participant, the most likely values for the parameter \(\omega_2\) are between -4.9 and -3.1, with a mean at -3.9 (you can find slightly different values if you sample different actions from the decisions function). We can consider this as an excellent estimate given the sparsity of the data, and the complexity of the model.

@@ -988,11 +988,11 @@

System configuration diff --git a/notebooks/3-Multilevel_HGF.html b/notebooks/3-Multilevel_HGF.html index dad998628..55a142faa 100644 --- a/notebooks/3-Multilevel_HGF.html +++ b/notebooks/3-Multilevel_HGF.html @@ -51,7 +51,7 @@ - + @@ -707,7 +707,7 @@

Plot the computational graph -../_images/98778b681271378b11083a9cc8d36729e81243b0a3b4ff84431d5fc435a8ef6b.svg +../_images/4708f16642a2dd9022b3b79a3c3ad04c597fb77def7eeabbdc48559af45de3b8.svg
@@ -732,10 +732,28 @@

Sampling
NUTS: [mu_volatility, sigma_volatility, volatility, mu_temperature, sigma_temperature, inverse_temperature]
 
-

+

 
 
-
+

+
+
+
Sampling 2 chains for 1_000 tune and 1_000 draw iterations (2_000 + 2_000 draws total) took 69 seconds.
+
+
+
There were 1000 divergences after tuning. Increase `target_accept` or reparameterize.
+
+
+
We recommend running at least 4 chains for robust computation of convergence diagnostics
+
+
+
The rhat statistic is larger than 1.01 for some parameters. This indicates problems during sampling. See https://arxiv.org/abs/1903.08008 for details
+
+
+
The effective sample size per chain is smaller than 100 for some parameters.  A higher number is needed for reliable rhat and ess computation. See https://arxiv.org/abs/1903.08008 for details
+
+
+

@@ -748,7 +766,7 @@

Visualization of the posterior distributions -../_images/cd4ae40aa47ba2894bb03958b9aedb50dc7ea679106fd873dfb2844c8438a68c.png +../_images/01e6d3261f75da5122173932394594e8f801e0ede1b283eedc993599194d08ff.png

The reference values on both posterior distributions indicate the mean of the distribution used for simulation.

@@ -774,14 +792,14 @@

System configuration diff --git a/notebooks/4-Parameter_recovery.html b/notebooks/4-Parameter_recovery.html index 79ec15764..25d0cffad 100644 --- a/notebooks/4-Parameter_recovery.html +++ b/notebooks/4-Parameter_recovery.html @@ -49,7 +49,7 @@ - + @@ -664,10 +664,10 @@

Inference from the simulated behaviours
NUTS: [censored_volatility, inverse_temperature]
 
-

+

 
 
-
+

@@ -723,7 +723,7 @@

Visualizing parameters recovery -../_images/fd032f2350ea681dfb89be3ed39cc0db4511c1b397a93b3c13de0a96472caab1.png +../_images/2d7e7041d7eb87d2a19e5735a0f127f9a410bd252dfcf0afdae6b3a9fde9d571.png

@@ -748,12 +748,12 @@

System configurationvar togglebuttonSelector = '.toggle, .admonition.dropdown'; - + @@ -555,16 +555,16 @@

Loading and preprocessing physiological recording
Downloading ECG channel:   0%|          | 0/2 [00:00<?, ?it/s]
 
-
Downloading ECG channel:  50%|█████     | 1/2 [00:00<00:00,  1.18it/s]
+
Downloading ECG channel:  50%|█████     | 1/2 [00:01<00:01,  1.06s/it]
 
-
Downloading Respiration channel:  50%|█████     | 1/2 [00:00<00:00,  1.18it/s]
+
Downloading Respiration channel:  50%|█████     | 1/2 [00:01<00:01,  1.06s/it]
 
-
-
/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
+
/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
   self.pid = os.fork()
 
@@ -687,7 +687,7 @@

Model#<

-../_images/e43fbff375c6cadc9a178a6909dc6edd05c565b9e0a5cc703c9b87c7c5ff76b8.png +../_images/8b4761fe40abbc4eab49534359b64a1b771d330fd046cb297f760bf0d4aec020.png
@@ -719,7 +719,7 @@

Model#<

-../_images/b1d98fa55589310f678c20e7c4c2956fff2f458e8413d588a6c66392aee971a7.png +../_images/eeecc1cea1a493ef0961764a53b5dd248ed99fc5c6aca89d2ffb4bff582ae5ac.png
@@ -744,12 +744,12 @@

System configuration

diff --git a/notebooks/Example_2_Input_node_volatility_coupling.html b/notebooks/Example_2_Input_node_volatility_coupling.html index 19232282d..1ecdb648a 100644 --- a/notebooks/Example_2_Input_node_volatility_coupling.html +++ b/notebooks/Example_2_Input_node_volatility_coupling.html @@ -692,10 +692,10 @@

System configurationvar togglebuttonSelector = '.toggle, .admonition.dropdown'; - + @@ -1081,16 +1081,16 @@

Bayesian inference
NUTS: [omega]
 
-

+

 
 
-

+

 
 
Sampling 2 chains for 1_000 tune and 1_000 draw iterations (2_000 + 2_000 draws total) took 25 seconds.
 
-
diff --git a/notebooks/Exercise_1_Using_the_HGF.html b/notebooks/Exercise_1_Using_the_HGF.html index 97022869f..822cbb80d 100644 --- a/notebooks/Exercise_1_Using_the_HGF.html +++ b/notebooks/Exercise_1_Using_the_HGF.html @@ -51,7 +51,7 @@ - + @@ -758,7 +758,7 @@

Parameters optimization

-
@@ -813,15 +813,15 @@

Parameters optimization tonic_volatility_1 - -5.974 - 0.908 - -7.58 - -4.182 + -5.954 + 0.922 + -7.681 + -4.288 0.028 0.02 - 1128.0 - 1077.0 - 1.01 + 1232.0 + 765.0 + 1.0 @@ -1160,11 +1160,19 @@

Biased random{"version_major": 2, "version_minor": 0, "model_id": "c28d917d6f664630bf0312a7d1cd3167"}
/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
+
/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/multiprocessing/popen_fork.py:66: RuntimeWarning: os.fork() was called. os.fork() is incompatible with multithreaded code, and JAX is multithreaded, so this will likely lead to a deadlock.
   self.pid = os.fork()
 
+

+
+
+
Sampling 4 chains for 1_000 tune and 1_000 draw iterations (4_000 + 4_000 draws total) took 35 seconds.
+
+
+
+

Assess model fitting, here using leave-one-out cross-validation from the Arviz library.

@@ -1188,8 +1196,8 @@

Biased random -

+

 
 
-

+

 
 
-

+

 
 
-

+

 
 
-
@@ -1486,8 +1494,8 @@

Two-level HGF - @@ -1827,14 +1835,14 @@

System configuration