An implementation of game theory of mind in a agent based framework following the implementation of Devaine, et al. (2017).
Project description
tomsup 👍
Theory of Mind Simulation using Python
A Python Package for Agent Based simulations.
An implementation of game theory of mind in an agent based framework following the implementation of Devaine, et al. (2017). This package also includes a theory of mind.
Issues and Usage Q&A
To ask questions, report issues or request features, please use the GitHub Issue Tracker.
🔧 Setup and installation
tomsup supports Python 3.6 or later. We strongly recommend that you install tomsup from pip. If you haven't installed pip you can install it from the official pip website, otherwise simply run
(the version on pip isn't currently up to date)
pip3 install tomsup
You can also install it directly from github by simply running:
pip install git+https://github.com/KennethEnevoldsen/tomsup.git
or more explicitly:
git clone https://github.com/KennethEnevoldsen/tomsup.git
cd tomsup
pip3 install -e .
Getting Started with tomsup
To get started with tomsup we recommend the tutorials in the tutorials folder. We recommend that you start with the introduction.
The tutorials are provided as Jupyter Notebooks. If you do not have Jupyter Notebook installed, instructions for installing and running can be found here.
Currently we have the following tutorials
- introduction, a general introduction to the features of tomsup
- Creating_an_agent, an example of how you would create new agent for the package.
- introduction_to_tom, an introduction to the variational bayes theory of mind model used in tomsup. (Not currently finished)
There is also an example psychopy experiment, in which the player can play against the theory of mind agent in the matching pennies task. (currently not finished)
LICENSE
tomsup is released under the Apache License, Version 2.0.
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
File details
Details for the file tomsup-1.0.1.tar.gz
.
File metadata
- Download URL: tomsup-1.0.1.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd65db0cdc387cfb5d98fb299b1a45a3e8a64d572d23a454ef91f29bce56b3fc |
|
MD5 | cbd339fe1b52ef0a6c79f3aa0e2a7ab5 |
|
BLAKE2b-256 | 7c6e7bb392d68feb912cd3d2cab28e087efc1daa6bc797f8f7cb1b15c9288668 |