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:
python -m chicken_coop run
# Main run used in the paper:
python -m chicken_coop run --moniker paper-run --use-tune --n-tune-samples 300
# Transplant a visitor population into a resident population:
python -m chicken_coop transplant --moniker paper-transplant \
--visitor-trek ~/.chicken_coop/<YOUR_PREVIOUS_RUN>
# Ablate opponent perception accuracy:
python -m 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:
python -m 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.2.tar.gz
(48.6 kB
view details)
Built Distribution
File details
Details for the file chicken_coop-0.0.2.tar.gz
.
File metadata
- Download URL: chicken_coop-0.0.2.tar.gz
- Upload date:
- Size: 48.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba9ff8cea98bba174a440c7a48ac3bff332904e362c319b8b16108b8a457d462 |
|
MD5 | 40cf34dbf85dc125777b033bf77c138a |
|
BLAKE2b-256 | 2d9be733882a0656f4954668e5644c41b60e0005cd1412c4a71f902e93ccf0da |
File details
Details for the file chicken_coop-0.0.2-py2.py3-none-any.whl
.
File metadata
- Download URL: chicken_coop-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 62.8 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 | 155b8905b79e55468c7bfab7b999c5097e741437ccb7d8983bcbaa357e25bd0b |
|
MD5 | 7c41f16a591ec1af1c8fbc210924697b |
|
BLAKE2b-256 | 04851c8ccf24fe9ea44002093ef2abdf965883599b3a2314f8824d72e48ed2be |