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.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.14.1

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.14.1
File Size Uploaded
active_learning_step-2026.10.14.1.tar.gz 432.0 kB Details

Built distribution (wheel)

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

Total release size: 552.6 kB

Release files / active_learning_step-2026.10.14.1.tar.gz

Download URL active_learning_step-2026.10.14.1.tar.gz
Size 432.0 kB
Tags Source
SHA-256 checksum
How to use checksums
965d0910471410aa157805113bc116729c026cb4378879f68447e099e7b532fd
BLAKE2b-256 checksum
How to use checksums
5a9d95acc5001d6c4fd280d6c7d7df8864274e29cc53aa35853b2ad8c8a489c2
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.14.1-py2.py3-none-any.whl

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

Release history Release notifications | RSS feed

This release

2026.10.14.1 This release

2 release files

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