Examples
Note
To run the example-notebooks, you also need the additional dependencies matplotlib and ipympl.
Basics
Parameter Retrieval
What are the retrieval examples doing?
The retrieval examples show how to use rt1_model package together with scipy.optimize to retrieve model parameters from datasets via non-linear least squares optimization.
All examples follow the same basic structure (e.g. “closed-loop experiments”):
Select a model configuration.
Simulate a dataset using a set of random input-parameters.
Add some random noise to the data.
Use an optimization procedure to retrieve the parameters from the simulated dataset.
Check if the retrieved parameters are similar to the ones used for creating the dataset.