Axelrod-Python/AxelrodExamples

Name: AxelrodExamples

Owner: Axelrod-Python

Description: :bar_chart: Analysis and examples for the Axelrod-Python library

Created: 2015-07-31 17:47:59.0

Updated: 2018-02-13 15:18:29.0

Pushed: 2017-06-27 01:50:04.0

Homepage:

Size: 24490

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

AxelrodExamples

Strategy visualizations and example tournaments for the iterated Prisoner's Dilemma library Axelrod.

Strategy Visualizations

The first strategy visualization displays how often a strategy cooperates with every other strategy per round, averaged over many interactions (~200 repeated games between every pair of strategies).

Cooperation Rate Heatmaps

ZDGTFT2

Left: no noise | Right: 5% noise

Cooperation Rate Heatmap Cooperation Rate Heatmap with 5% noise

Calculator

Left: no noise | Right: 5% noise

Cooperation Heatmap Cooperation Heatmap with 5% noise

As you can see, the introduction of noise alters the efficacy of Calculator's cycle detection algorithm.

Average Score Heatmaps

We can also visualize the average payoff per round earned by each strategy versus every other strategy per round, averaged over many interactions (~200 repeated games between every pair of strategies).

Alternator

Left: no noise | Right: 5% noise

Average Score Heatmap Average Score Heatmap with 5% noise

Evolved ANN 5 Noise 05

Mean Score Heatmap


Left: no noise | Right: 5% noise

Mean Score Heatmap Mean Score Heatmap with 5% noise
All Strategies Heatmaps

Click to see all the renderings for each strategy.

Example Tournaments

See the python script example_tournaments.py for the exact details of each tournament.

All Fair Strategies

This tournament covers all strategies in the Axelrod library that follow the standard Axelrod rules.

Score Distributions


Left: no noise | Right: 5% noise

Win Distributions


Left: no noise | Right: 5% noise

Pairwise Payoffs


Left: no noise | Right: 5% noise

Tournaments

Click to see all the renderings for each tournament.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.