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.3.tar.gz
(48.4 kB
view details)
Built Distribution
File details
Details for the file chicken_coop-0.0.3.tar.gz
.
File metadata
- Download URL: chicken_coop-0.0.3.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 | 3e9bb1825b00ced317050e4fe98cca2eed95974fd9defec100086e03df602fe1 |
|
MD5 | e9da2d3c74fb4e4243735e4e0688781c |
|
BLAKE2b-256 | a59853ee5e3b0130d409b28a807a15029989e7ae9d12384b93708ca0e754ac78 |
File details
Details for the file chicken_coop-0.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: chicken_coop-0.0.3-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 | ca85a10f2361de3b4372b85ad22af2f9c32b02bdbbeaf1661279ac75573e4a3c |
|
MD5 | 1ff1623a65cbdf89332f8c6b0105208f |
|
BLAKE2b-256 | a27563d7b390c2e1afaffff91421268f91c6dce015a0d33548f098497c7aedc3 |