Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tomsup-1.0.1.tar.gz (24.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page