From 10fa9ca13b8a786b8baad59fe10fe71ba6008af0 Mon Sep 17 00:00:00 2001 From: LegrandNico Date: Fri, 13 Sep 2024 11:14:45 +0200 Subject: [PATCH] fix pip install in cpc tutorial --- ...to_the_generalised_hierarchical_gaussian_filter.ipynb | 9 ++------- .../Exercise_2_Bayesian_reinforcement_learning.ipynb | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/docs/source/notebooks/Exercise_1_Introduction_to_the_generalised_hierarchical_gaussian_filter.ipynb b/docs/source/notebooks/Exercise_1_Introduction_to_the_generalised_hierarchical_gaussian_filter.ipynb index abc4950ce..02cd13bc4 100644 --- a/docs/source/notebooks/Exercise_1_Introduction_to_the_generalised_hierarchical_gaussian_filter.ipynb +++ b/docs/source/notebooks/Exercise_1_Introduction_to_the_generalised_hierarchical_gaussian_filter.ipynb @@ -48,7 +48,7 @@ "import sys\n", "\n", "if 'google.colab' in sys.modules:\n", - " !pip install phygf watermark" + " !pip install pyhgf watermark" ] }, { @@ -74,17 +74,12 @@ } ], "source": [ - "import arviz as az\n", - "import jax.numpy as jnp\n", "import matplotlib.pyplot as plt\n", "import numpy as np\n", "import pandas as pd\n", - "import pymc as pm\n", "import seaborn as sns\n", "from pyhgf import load_data\n", - "from pyhgf.distribution import HGFDistribution\n", - "from pyhgf.model import Network\n", - "from pyhgf.response import binary_softmax, first_level_gaussian_surprise" + "from pyhgf.model import Network" ] }, { diff --git a/docs/source/notebooks/Exercise_2_Bayesian_reinforcement_learning.ipynb b/docs/source/notebooks/Exercise_2_Bayesian_reinforcement_learning.ipynb index e76270757..8abc4eb80 100644 --- a/docs/source/notebooks/Exercise_2_Bayesian_reinforcement_learning.ipynb +++ b/docs/source/notebooks/Exercise_2_Bayesian_reinforcement_learning.ipynb @@ -48,7 +48,7 @@ "import sys\n", "\n", "if 'google.colab' in sys.modules:\n", - " !pip install phygf watermark" + " !pip install pyhgf watermark" ] }, {