Action Model Learning from Noisy Traces: a Probabilistic Approach
This repository contains the official code of the Noisy Offline Learning of Action Models (NOLAM) algorithm.
Installation
pip install nolam
Example usage
from nolam.algorithm.Learner import Learner
noise_rate = 0.1
model = Learner().learn('path/to/domain.pddl', ['path/to/trace0', 'path/to/trace1'], e=noise_rate)
print(model)
Custom domain learning
The NOLAM algorithm can be run for learning from traces with noisy states with an observation noise varying from 0 to 1.
For running NOLAM on a custom domain, you need to provide an input domain file 'path/to/domain.pddl', a
list of plan trace files ['path/to/trace0', 'path/to/trace1', etc.], and the (possibly estimated) observation noise.
The input planning domain must contain the predicates, object types, and operator signatures. Note NOLAM does not
yet exploit input knowledge in terms of preconditions and effects, hence providing such input domain knowledge
does not currently affect the learning process. NOLAM can learn a planning domain from
plan traces of different environments (e.g. it is possible to learn a planning domain from small environments
and exploit the learned domain in large environments).
Citations
If you find this repository useful, please consider citing the related paper.
@article{lamanna2024action,
title={Lifted Action Models Learning from Partial Traces},
author={Lamanna, Leonardo and Serafini, Luciano},
booktitle={Proceedings of the International Conference on Automated Planning and Scheduling},
volume={34},
pages={342--350},
year={2024}
}
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for nolam 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nolam-1.0.0.tar.gz | 16.3 kB | Without provenance | Details for nolam-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nolam-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for nolam-1.0.0-py3-none-any.whl |
Total release size: 33.5 kB
Release files / nolam-1.0.0.tar.gz
| Download URL | nolam-1.0.0.tar.gz |
|---|---|
| Size | 16.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e670e8ef807001cada6612fc3f01e0f1d80757d6c150f63cbc9db83f7a69a7f3
|
|
BLAKE2b-256 checksum How to use checksums |
630ce9ff7f22d6101aca68271731730ac21de04fb8fa2f7b6accbe5354bfb1e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.13
|
Release files / nolam-1.0.0-py3-none-any.whl
| Download URL | nolam-1.0.0-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ab71a9a6b38feff7d5886282b9e7d00845d374aa68dea29fe3d648614505f9d
|
|
BLAKE2b-256 checksum How to use checksums |
fc86086a4c4ff9952d2ed0116e59ed71941cfb407c85960ccc5a5e5dddb447fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.13
|
Security for nolam 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.