Skip to main content

Trajectory construction on an energy landscape for edmkit

Project description

edmkit-search

Trajectory construction on an energy landscape, packaged as a library on top of edmkit.

Install

pip install edmkit-search
# or
uv add edmkit-search

Overview

The search loop builds a trajectory step by step:

  1. From the current frontier (batch of (state, context)),
  2. expand neighbors via a Neighborhood,
  3. score children with an Energy to obtain (energies, contexts),
  4. and pick the next frontier with a Strategy.

See CODING.md for the design rules. The subpackages mirror the four abstractions: energy/, neighborhood/, state/, strategy/, plus dataset/ for the input containers.

Quick start

uv sync
PYTHON_GIL=0 uv run python e2e/synthetic.py

e2e/synthetic.py generates a Lorenz-96 trajectory mixed with noise columns and uses greedy forward selection to recover the informative subset.

Tests

uv run pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edmkit_search-0.1.0.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edmkit_search-0.1.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file edmkit_search-0.1.0.tar.gz.

File metadata

  • Download URL: edmkit_search-0.1.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for edmkit_search-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f75f1e0c3795746ecc6ec3bb5ea3c46d02f3c501d88a2920c0a05c5f23ac6fcb
MD5 672e3ec8d270846fda6496fa450ed98f
BLAKE2b-256 608dcdc4ef161c094cc558b9ce1c79275fbd8e099babd45008361ff5ad0a5faa

See more details on using hashes here.

File details

Details for the file edmkit_search-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: edmkit_search-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for edmkit_search-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 518a67a83d977305d0fce1b16c5c514e5dc1d62396085e025f1be52c2d7b4470
MD5 7511b93a9b2f6cd4c5a5222aeb584046
BLAKE2b-256 a6e8f472cf8c754bc66f29969f22afc7878321bd5c6502f3d90baae4a35585df

See more details on using hashes here.

Supported by

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