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.1.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.1-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edmkit_search-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 bc0cec72ffdaabfb592dfec2f1c59e3351caafda7387c7b883dc894d907911c3
MD5 a60477d67c5bb3596b09471925a291ef
BLAKE2b-256 f4fc47e57499d78648e4c279ad191e2bff06227829557e36728293e808cbe6fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edmkit_search-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 674b4ba3c7e27fd5edfd13fb3089b3eb1641d342ba7aabfbe36c1e0bfe9a54b6
MD5 0689359be75793b52b5b14db04a2591d
BLAKE2b-256 4044fa8a65264bfa0f32594d05ef219a855b5ee1e0c2ebb954e62d5be9c3cb77

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