- Notifications
You must be signed in to change notification settings - Fork0
Simulation environment for data collection dynamics.
License
NotificationsYou must be signed in to change notification settings
lfwa/datadynamics
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Datadynamics is a Python library and environment for simulating (multi-agent) data collection dynamics. The library is built on top ofPettingZoo and is distributed under theBSD 3-Clause License.
The documentation is available atlfwa.github.io/datadynamics/.
Datadynamics can be installed via PyPI from Python 3.10 and higher:
$pip install datadynamics
Alternatively, you can install from source by downloading thelatest release or by cloning theGitHub repository, navigating into the directory, and installing viaPoetry:poetry install
.
Visit the documentation site atlfwa.github.io/datadynamics/ for full usage guides.
# See tutorials/collector/wrapper_example.pyfromdatadynamics.environmentsimportcollector_v0fromdatadynamics.policiesimportgreedy_policy_v0env=collector_v0.env(n_points=300,n_agents=2,max_collect=[120,180],render_mode="human")policy=greedy_policy_v0.policy(env=env)env.reset()foragentinenv.agent_iter():observation,reward,termination,truncation,info=env.last()action=policy.action(observation,agent)env.step(action)
About
Simulation environment for data collection dynamics.