An environment for reproducing dominance hierarchies in RL agents
Project description
Chicken Coop
Supports Python 3.11.
Usage instructions:
# Set up virtualenv if needed:
python -m venv chicken-coop-env
source chicken-coop-env/bin/activate
# Install Chicken Coop:
pip install chicken-coop
# Run tests:
pytest
# Basic run:
chicken_coop run
# Main run used in the paper:
chicken_coop run --moniker paper-run --use-tune --n-tune-samples 300
# Transplant a visitor population into a resident population:
chicken_coop transplant --moniker paper-transplant --visitor-trek ~/.chicken_coop/<YOUR_PREVIOUS_RUN>
# Ablate opponent perception accuracy:
chicken_coop run --moniker paper-ablate-observation --use-tune --n-tune-samples 10 \
--observation-accuracy 0.0 \
--observation-accuracy 0.1 \
--observation-accuracy 0.2 \
--observation-accuracy 0.3 \
--observation-accuracy 0.4 \
--observation-accuracy 0.5 \
--observation-accuracy 0.6 \
--observation-accuracy 0.7 \
--observation-accuracy 0.8 \
--observation-accuracy 0.9 \
--observation-accuracy 1.0
# Investigate non-linearity:
chicken_coop run --moniker paper-cycles --use-tune --n-tune-samples 30 --n-agents 12 \
--learning-rate 3e-05
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
chicken_coop-0.0.4.tar.gz
(48.4 kB
view details)
Built Distribution
File details
Details for the file chicken_coop-0.0.4.tar.gz
.
File metadata
- Download URL: chicken_coop-0.0.4.tar.gz
- Upload date:
- Size: 48.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b36e0e301972d186caa0e0d3c875e1071ef9e2d979e7318e3eb1ef1a16762511 |
|
MD5 | f2761ca204af92afa978f5a7a09ab324 |
|
BLAKE2b-256 | 388ee7e8077a7fd6e5468c453c000a5cdbab2b809d697234d67b41b98a950a08 |
File details
Details for the file chicken_coop-0.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: chicken_coop-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 62.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6016ace251c97de03775736ee1e713180b627d52e34ae434be4ab7c9803196b |
|
MD5 | 23aeb4056352114f0c157ee1e11aafa8 |
|
BLAKE2b-256 | 5bab41d3287dd17491670dc25f48bb21c5eef2152911cbe2828f73801942a66e |