Skip to main content

SEAMM Active Learning Plug-in

GitHub pull requests Build Status Code Coverage Code Quality Documentation Status PyPi VERSION

A SEAMM plug-in for query-by-committee active learning of machine-learned force fields: a committee of models trained on different folds of the data disagrees where the model is likely wrong, so only the frames it flags need labelling.

Features

  • active_learning_step.committee: a committee of xnn potentials and its spreads (energy, force, per-atom force, atomic and molecular pressure), for molecules, ions and charged systems.

  • seamm-al score: the committee’s spreads for every frame of extxyz or SDF pools.

  • seamm-al select: rank the frames and take them within a core-hour budget, with caps per group and exclusions, writing the chosen frames as a verbatim subset of the input files.

Acknowledgements

This package was created with the molssi-seamm/cookiecutter-seamm-plugin tool, which is based on the excellent Cookiecutter.

Developed by the Molecular Sciences Software Institute (MolSSI), which receives funding from the National Science Foundation under award CHE-2136142.

History

2026.10.17 – Bugfix: a committee’s engine beside a GPU uses its CPU threads
  • The CPU threads torch uses now follow TORCH_NUM_THREADS before OMP_NUM_THREADS. Next to a GPU, LAMMPS’s launcher keeps OMP_NUM_THREADS at 1 and gives torch 4 threads through TORCH_NUM_THREADS, but the committee’s engine read only OMP_NUM_THREADS, so its work on the CPU, such as the spreads, ran on a single thread. The engine’s log says which setting it used.

2026.10.14.1 – The Active Learning step for flowcharts
  • The Active Learning step now holds four sub-steps: Train Committee, Check Committee, Score Pool and Select Frames, which do in a flowchart what the seamm-al command does. Each can use the committee, scores and thresholds made earlier in the job, and their dialogs show only the settings that apply.

  • Training, checking and scoring run in the MLFF environment of the xnn plug-in (xnn.ini) as tasks of the job, with nothing to install there; selecting runs in SEAMM.

  • Score Pool takes candidates from the job’s database, with the standard selection of systems and configurations, or from extxyz and SDF files. Select Frames puts selected configurations from the database in a variable for later steps and can copy them into a new system.

  • Train Committee can save the committee as an xnn model, which the Model Chemistry step then offers (with xnn-step 2026.10.14 or later) for molecular dynamics with the committee mean, recording the members’ spreads; with lammps-step 2026.10.14.1 or later this also runs on the CPU.

  • Candidate files may be gzipped, such as the trajectories LAMMPS writes.

  • Requires xnn-step 2026.10.14 or later.

2026.10.14 – Initial release: query-by-committee active learning for MLFFs
  • A committee of machine-learned force fields, trained on different folds of the data, disagrees where the model is likely wrong; the seamm-al command uses that disagreement to choose what to label next. This first release provides the library and the command line; the SEAMM flowchart step is a placeholder.

  • seamm-al score: the committee’s spreads (energy, forces, the largest per-atom force spread, atomic and molecular pressure) for every frame of extxyz or SEAMM SDF pools, with the total charge passed to the models. Molecules follow SEAMM’s own rule (molsystem’s bond perception, ions on their own), applied without SEAMM in MLFF environments, or a SEAMM structure’s own bonds.

  • seamm-al select: rank the frames, or keep those past thresholds, and take them within a core-hour budget, with costs per kind or group, caps per column and exclusions; or draw at random (optionally stratified) before any committee exists. The chosen frames are copied byte for byte from the input files.

  • seamm-al train: train the k members of a committee from an xnn recipe, with stratified folds, a fixed share of cell batches and a manifest of the folds, seeds, data and code versions. Requires xnn 0.13 or later.

  • seamm-al check: whether the spreads predict the out-of-fold errors (Spearman correlations, threshold calibration) and the health of each member (losses, errors, leave-one-out spreads), with an option to drop a member.

  • seamm-al engine: the committee mean as one MDI engine for LAMMPS, writing the spreads every N steps and flagging frames past a threshold.

  • seamm-al data: check a LAMMPS data file for what atom_style atomic can read.

Metadata

Release files for active-learning-step 2026.10.17

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

Source distribution (sdist)

Source distribution for active-learning-step 2026.10.17
File Size Uploaded Provenance Actions
active_learning_step-2026.10.17.tar.gz 432.7 kB Without provenance Details for active_learning_step-2026.10.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for active-learning-step 2026.10.17
File Interpreter ABI Platform Actions
active_learning_step-2026.10.17-py2.py3-none-any.whl Python 3, Python 2 none any Details for active_learning_step-2026.10.17-py2.py3-none-any.whl

Total release size: 553.5 kB

Release files / active_learning_step-2026.10.17.tar.gz

Download URL active_learning_step-2026.10.17.tar.gz
Size 432.7 kB
Tags Source
SHA-256 checksum
How to use checksums
67863009ef8bfd2380d2060b16ead394a059ce450e7e2cf0335b652f669ed8a0
BLAKE2b-256 checksum
How to use checksums
c65ae1b70a1ec8834226afec6da91226e5f3ecb87253fee22f9be02b5cebd885
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / active_learning_step-2026.10.17-py2.py3-none-any.whl

Download URL active_learning_step-2026.10.17-py2.py3-none-any.whl
Size 120.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
90970578f7d8c3b49bf44e7a6a5e2aa761fc0eea6e8704ac1974b130dffd7e5b
BLAKE2b-256 checksum
How to use checksums
e43e09f42b0ff7742d7314d442ee83c6de610aefeb4eb7836e2069edca3111ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for active-learning-step 2026.10.17

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.

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