(Inverse) optimal control for linear quadratic Gaussian systems
Project description
Inverse optimal control for continuous psychophysics
This repository contains the official implementation of the inverse optimal control method presented in the paper:
Straub, D., & Rothkopf, C. A. (2021). Putting perception into action: Inverse optimal control for continuous psychophysics. bioRxiv.
CCN 2022 tutorial
For our tutorial at CCN 2022, you can follow along in the Jupyter notebook CCN_2022_Tutorial.ipynb. To run the notebook, you can either install the lqg
package locally (see below) or open it in the browser on Google Colab.
Installation
The package can be installed via pip
python -m pip install lqg
although I recommend cloning the repository to get the most recent version and installing locally with a virtual environment
python -m venv env
source env/bin/activate
python -m pip install -e .
Usage examples
-
main.py
shows how to simulate data and infer parameters using the LQG model of the tracking task. -
notebooks/01-HowTo.ipynb
explains the model and its parameters in more detail, including the extension to subjective internal models. -
notebooks/02-Data.ipynb
fits the ideal observer and bounded actor model to the data from Bonnen et al. (2015) to reproduce Fig. 4A from our paper.
Citation
If you use our method in your research, please cite our preprint:
@article{straub2021putting,
title={Putting perception into action: Inverse optimal control for continuous psychophysics},
author={Straub, Dominik and Rothkopf, Constantin A},
journal={bioRxiv},
year={2021},
publisher={Cold Spring Harbor Laboratory}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lqg-0.1.7.tar.gz
.
File metadata
- Download URL: lqg-0.1.7.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14d0c0903e22c4f6b6e0df8e9629d80e54379950469ff87f5e6458754f0f3ac3 |
|
MD5 | a3ca8641d9191a202d5aec68116ac2a5 |
|
BLAKE2b-256 | 0fccc797214838bad38eaf65b66b442466ab56eeddf03ce1115188779e37c50b |
Provenance
File details
Details for the file lqg-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: lqg-0.1.7-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 522790f813323f1e95531dacf5075beadb5c5bd6492078620fa86936930bc516 |
|
MD5 | f80d4f9cdf11e440792f4e2aae6cd439 |
|
BLAKE2b-256 | b0b5b51273a9076cbfbfe7db2862cbd30c0a91b93ea2013bb4236acedc7e270b |