diff --git a/episodes/profiling-functions.md b/episodes/profiling-functions.md index b7cf902..ac78ca9 100644 --- a/episodes/profiling-functions.md +++ b/episodes/profiling-functions.md @@ -336,7 +336,9 @@ Other boxes within the diagram correspond to the initialisation of imports, or i ## Exercise 2: Predator Prey -Download and profile the Python predator prey model, try to locate the function call(s) where the majority of execution time is being spent. +Download and profile the Python predator prey model, try to locate the function call(s) where the majority of execution time is being spent + +*This exercise uses the package `numpy`, it can be installed via `pip install numpy`.* > The predator prey model is a simple agent-based model of population dynamics. Predators and prey co-exist in a common environment and compete over finite resources. > diff --git a/learners/setup.md b/learners/setup.md index a251812..75b984a 100644 --- a/learners/setup.md +++ b/learners/setup.md @@ -22,10 +22,10 @@ This course uses Python and was developed using Python 3.11, therefore it is rec -The non-core Python packages required by the course are `pytest`, `snakeviz` and `line_profiler` which can be installed via `pip`. +The non-core Python packages required by the course are `pytest`, `snakeviz`, `line_profiler` and `numpy` which can be installed via `pip`. ```sh -pip install pytest snakeviz line_profiler[all] +pip install pytest snakeviz line_profiler[all] numpy ``` :::::::::::::::::::::::::::::::::::::::::::::::::::