Action model acquisition from state trace data.
Project description
MAcq: The Model Acquisition Toolkit
This library is a collection of tools for planning-like action model acquisition from state trace data. It contains a reimplementation from many existing works, and generalizes some of them to new settings.
Example Usage
from macq import generate, extract
from macq.observation import IdentityObservation, AtomicPartialObservation
# get a domain-specific generator: uses api.planning.domains problem_id/
# generate 100 traces of length 20 using vanilla sampling
traces = generate.pddl.VanillaSampling(problem_id = 123, plan_len = 20, num_traces = 100).traces
traces.generate_more(10)
action = traces[0][0].action
traces.get_usage(action)
# [0.05, 0.05, ..., 0.05]
trace = traces[0]
len(trace)
# 20
trace.fluents
trace.actions
trace.get_pre_states(action) # get the state before each occurance of action
trace.get_post_states(action) # state after each occurance of action
trace.get_total_cost()
Survey
You can find the full scope of papers considered in the survey (implemented and otherwise) at http://macq.planning.domains . This repository of model acquisition techniques will be added to over time.
Related Survey Papers
- A Review of Machine Learning for Automated Planning (see Fig 2)
- A Review of Learning Planning Action Models (see Tbl 3)
Citing this work
@inproceedings{macq-keps-2022,
author = {Ethan Callanan and Rebecca De Venezia and Victoria Armstrong and Alison Paredes and Tathagata Chakraborti and Christian Muise},
title = {MACQ: A Holistic View of Model Acquisition Techniques},
booktitle = {The ICAPS Workshop on Knowledge Engineering for Planning and Scheduling (KEPS)},
year = {2022}
}
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 macq-0.3.11.tar.gz.
File metadata
- Download URL: macq-0.3.11.tar.gz
- Upload date:
- Size: 72.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fc17ca982fd87b45e0a29752d91836ee26a8d07b2f220b7e8fbccd4195f11be
|
|
| MD5 |
5dd6220fc76225ffe2e1714e240dcb1e
|
|
| BLAKE2b-256 |
1b6a05530d914eb7483641bccc0389cdc7f304143eeb36c5670c0e947b9fa40f
|
Provenance
The following attestation bundles were made for macq-0.3.11.tar.gz:
Publisher:
deploy.yml on AI-Planning/macq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
macq-0.3.11.tar.gz -
Subject digest:
6fc17ca982fd87b45e0a29752d91836ee26a8d07b2f220b7e8fbccd4195f11be - Sigstore transparency entry: 157598456
- Sigstore integration time:
-
Permalink:
AI-Planning/macq@8e7f05a772b5685b2034be8b17522f7c109103f1 -
Branch / Tag:
refs/tags/v0.3.11 - Owner: https://github.com/AI-Planning
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@8e7f05a772b5685b2034be8b17522f7c109103f1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file macq-0.3.11-py3-none-any.whl.
File metadata
- Download URL: macq-0.3.11-py3-none-any.whl
- Upload date:
- Size: 89.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
919ff0a5dc9b3f29008ee9eb77dc8bbd3211178db5d08107814675adaee28523
|
|
| MD5 |
daf3602533577b2dd67f2385d43c85ac
|
|
| BLAKE2b-256 |
343d3dbd068ce92feb792cc374e863064b29c7bed06a43f26e3bc109af41af20
|
Provenance
The following attestation bundles were made for macq-0.3.11-py3-none-any.whl:
Publisher:
deploy.yml on AI-Planning/macq
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
macq-0.3.11-py3-none-any.whl -
Subject digest:
919ff0a5dc9b3f29008ee9eb77dc8bbd3211178db5d08107814675adaee28523 - Sigstore transparency entry: 157598458
- Sigstore integration time:
-
Permalink:
AI-Planning/macq@8e7f05a772b5685b2034be8b17522f7c109103f1 -
Branch / Tag:
refs/tags/v0.3.11 - Owner: https://github.com/AI-Planning
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@8e7f05a772b5685b2034be8b17522f7c109103f1 -
Trigger Event:
release
-
Statement type: