Action model learning benchmarking.
Project description
AMLGym: benchmarking action model learning
Framework for experimenting with action model learning approaches and evaluating the learned domain models.
Installation
pip install amlgym
Example usage
from amlgym.algorithms import get_algorithm
agent = get_algorithm('OffLAM')
model = agent.learn('path/to/domain.pddl', ['path/to/trace0', 'path/to/trace1'])
print(model)
Documentation
Tutorials and API documentation is accessible on Read the Docs
State-of-the-art Algorithms
AMLGym provides seamless integration with state-of-the-art algorithms for offline learning classical planning domains from an input set of trajectories in the following settings:
- full observability: SAM [1].
- partial observability: OffLAM [2].
- full and noisy observability: NOLAM [3], ROSAME [4].
Adding an algorithm
PRs with new or existing state-of-the-art algorithms are welcome:
- Add the algorithm PyPI package in
requirements.txt - Create a Python class in
algorithmswhich inherits fromAlgorithmAdapter.pyand implements thelearnmethod
Evaluation
AMLGym can evaluate a PDDL model by means of several metrics:
- Syntactic similarity
- Problem solving
- Predicted applicability and predicted effects
Benchmarking
See the benchmark package for details.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Citing
Not yet available
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file amlgym-1.0.9.tar.gz.
File metadata
- Download URL: amlgym-1.0.9.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8758aec444b659a47703da47ddf03bced62143ec84d42ea45f0b6e0292c98cd8
|
|
| MD5 |
b40c928ae16ce2e014c39bc8e49390ee
|
|
| BLAKE2b-256 |
6acbeb014549e362a21e24c06d81089c5d1349fe760695f6b62a4dca9550b4cf
|
File details
Details for the file amlgym-1.0.9-py3-none-any.whl.
File metadata
- Download URL: amlgym-1.0.9-py3-none-any.whl
- Upload date:
- Size: 4.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef659157df2af0b5f3f020d19edfca933875f3aa8b159e78f8bd7b9777222f21
|
|
| MD5 |
dd9886e458415f35def996e0a3e093b7
|
|
| BLAKE2b-256 |
21fa4202d9066eecfe0e3e7cfa4bc797508f4b846a23baa4a86a95afd4c5fca7
|