Skip to main content

Safe Action Model Learner

Project description

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.

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

sam-learner-2.1.9.tar.gz (33.1 kB view details)

Uploaded Source

Built Distribution

sam_learner-2.1.9-py3-none-any.whl (44.6 kB view details)

Uploaded Python 3

File details

Details for the file sam-learner-2.1.9.tar.gz.

File metadata

  • Download URL: sam-learner-2.1.9.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for sam-learner-2.1.9.tar.gz
Algorithm Hash digest
SHA256 a15f3eba9e4f100e5a03f76bcf15c2c358337a0cd43a8b93a07f1baef185ca4f
MD5 35b13dcd97d2c02340a19aee4f8638d7
BLAKE2b-256 f267089a463f0b780ec2cbb4fbc42e3e8c28931da23ad1067e26cf2636a688d4

See more details on using hashes here.

File details

Details for the file sam_learner-2.1.9-py3-none-any.whl.

File metadata

  • Download URL: sam_learner-2.1.9-py3-none-any.whl
  • Upload date:
  • Size: 44.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for sam_learner-2.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 bb9d0a17fdd28211d7751ee9a0a1c8c6f3fbe8d69c25e7be36ae49446c155c47
MD5 a77911ebb6ec3bb4ed4f0de55be80eb1
BLAKE2b-256 685d8d2919ddeda62b6ee4b0b6bdd13ffa9ffcae51701c9c1a1c801eed2c600e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page