Skip to main content

Signalling games in python

Project description

Overview

evoke enables users to recreate signalling game simulations from the academic literature.

It comprises a library of methods from evolutionary game theory evoke/src/ and an ever-growing collection of user-friendly examples evoke/examples/.

Online tutorial

See the interactive tutorial on Google Colab.

Installation

Install with pip: pip install evoke_signals.

Basic usage

To create one of the example figures, simply import the relevant class and create an instance of it:

from evoke.examples.skyrms2010signals import Skyrms2010_1_1
fig1_1 = Skyrms2010_1_1()

Example of Skyrms 2010 Figure 1.1

Certain figures allow you to specify your own parameters:

from evoke.examples.skyrms2010signals import Skyrms2010_3_3
fig3_3 = Skyrms2010_3_3(iterations=1000)

Example of Skyrms 2010 Figure 3.3

See the examples/ directory for a collection of available figures.

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

evoke_signals-0.1.3.tar.gz (66.6 kB view hashes)

Uploaded Source

Built Distribution

evoke_signals-0.1.3-py3-none-any.whl (73.1 kB view hashes)

Uploaded Python 3

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