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.2.0.tar.gz (12.4 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.2.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edmkit_search-0.2.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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.2.0.tar.gz
Algorithm Hash digest
SHA256 b85a249a4d908952eaec5af36ac682a502611058ddec7327de2fde375e254794
MD5 0f4f4b0a527101ade8cc833ce5ff1107
BLAKE2b-256 b23a3b37b014e68e8be33da4d457c2ba911fa60fe53aa60e17e8afcce54883aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edmkit_search-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcc691b5586685ff6b54379b88d7d9bc98f0077414f374c9a11e21edbf9a5cf6
MD5 44b73f5de86a9a6ce08036b3da94ec54
BLAKE2b-256 f39ccf7423180fc509497309f870fbd7b4c6d00a2091e12f169ce4f522ce1ba7

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