Skip to main content

Safe Action Model Learning

SAM learner is an algorithm to efficiently and safely learn action models of STRIPS problems.

This repository contains two variations of the algorithm:

  • The classic SAM learning algorithm.
  • Lightweight version of ESAM learning algorithm.

The code is also available as a package to download in PyPI.

Requirements:

The repository's code is currently running using Python >= 3.8. In addition, This code is currently depending on the on version 1.3 of pyperplan.

Installation:

From the Python package index (PyPI):

pip install sam-learner

Features:

The repository offers two variants of the SAM learning algorithm, the classical SAM learning algorithm as well as a lightweight version of the Extended SAM learning algorithm.

Classical SAM Learning:

  • Learn lifted action model of classical PDDL problems.
  • Currently, supports PDDL-1.2 only.
  • Export learned domain via domain export functionality.

Extended SAM Learning:

  • Learn lifted action model of classical PDDL problems.
  • Extends SAM to also learn action models in case that there is an ambiguity in the actions' execution process.
  • Currently, supports PDDL-1.2 only.
  • Export learned domain via domain export functionality.

New Feature:

Now the code outputs trajectories in a format that FAMA action model learning can read and translate.

Metadata

Release files for sam-learner 2.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sam-learner 2.1.9
File Size Uploaded Provenance Actions
sam-learner-2.1.9.tar.gz 33.1 kB Without provenance Details for sam-learner-2.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sam-learner 2.1.9
File Interpreter ABI Platform Actions
sam_learner-2.1.9-py3-none-any.whl Python 3 none any Details for sam_learner-2.1.9-py3-none-any.whl

Total release size: 77.6 kB

Release files / sam-learner-2.1.9.tar.gz

Download URL sam-learner-2.1.9.tar.gz
Size 33.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a15f3eba9e4f100e5a03f76bcf15c2c358337a0cd43a8b93a07f1baef185ca4f
BLAKE2b-256 checksum
How to use checksums
f267089a463f0b780ec2cbb4fbc42e3e8c28931da23ad1067e26cf2636a688d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

Release files / sam_learner-2.1.9-py3-none-any.whl

Download URL sam_learner-2.1.9-py3-none-any.whl
Size 44.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb9d0a17fdd28211d7751ee9a0a1c8c6f3fbe8d69c25e7be36ae49446c155c47
BLAKE2b-256 checksum
How to use checksums
685d8d2919ddeda62b6ee4b0b6bdd13ffa9ffcae51701c9c1a1c801eed2c600e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12

Security for sam-learner 2.1.9

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.

Release history Release notifications | RSS feed

This release

2.1.9 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page