Skip to main content

ADO TRIM Operator

ado-trim is an operator plugin for the Accelerated Discovery Orchestrator (ADO), providing the Transfer Refined Iterative Modeling (TRIM) characterization operator.

TRIM is designed to efficiently build a surrogate model of a complex system. It is ideal for scenarios where exploring a parameter space is time-consuming or expensive. TRIM intelligently samples just enough points to create a stable and accurate predictive model, saving significant time and resources.

How it Works

The TRIM operator works in two main phases:

  1. No-Priors Characterization: If the system has not been measured before, TRIM starts by sampling a small, representative set of points using a space-filling algorithm to get a baseline understanding of the parameter space.

  2. Iterative Modeling: This phase begins by using all currently available data to train a single preliminary surrogate model. The feature importance from this model is used to order for all remaining unmeasured points. TRIM then enters a loop where it:

    • Samples the next point and adds it to the dataset.
    • Trains a model on the gathered data.
    • Evaluates the expected improvement of a model trained on a larger dataset by comparing the new model's performance against that of previous models.

This loop continues until the improvement falls below the configured thresholds or the sampling budget is exhausted. TRIM then trains one high-quality final model on all collected data and saves it to {outputDirectory}_finalized/ (defaults to trim_models_finalized/ in the directory you run ado create operation from), alongside a model_card.json file. The stopping_criteria_satisfied field in model_card.json is true when TRIM stopped because the convergence thresholds were met, and false when the sampling budget was exhausted first. It also outputs a file containing the measured values and predictions for all points in your space.

Installation

You can install the TRIM operator and its dependencies (including ado-core) directly from PyPI:

pip install ado-trim

More Information

To learn more about TRIM and explore the full capabilities of ADO, including detailed documentation, configuration guides, and additional examples, visit the official ADO website:

Metadata

Release files for ado-trim 2.3.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 ado-trim 2.3.1
File Size Uploaded Provenance Actions
ado_trim-2.3.1.tar.gz 46.7 kB Without provenance Details for ado_trim-2.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ado-trim 2.3.1
File Interpreter ABI Platform Actions
ado_trim-2.3.1-py3-none-any.whl Python 3 none any Details for ado_trim-2.3.1-py3-none-any.whl

Total release size: 91.4 kB

Release files / ado_trim-2.3.1.tar.gz

Download URL ado_trim-2.3.1.tar.gz
Size 46.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b8ae1dfa954a1317ce6acbf873220486e4d9e6aedce3694c33d80a226c178467
BLAKE2b-256 checksum
How to use checksums
3129d0c3910a3adfb46042f131f8b42fd3afd69d155f93ae11886cb215fd984e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Red Hat Enterprise Linux","version":"9.7","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / ado_trim-2.3.1-py3-none-any.whl

Download URL ado_trim-2.3.1-py3-none-any.whl
Size 44.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b92dd562b71b9c98ff758d2783147e33c89349d22cf18b028d8ad556c7371ba7
BLAKE2b-256 checksum
How to use checksums
5ce6b71316f9a9ba2feec50d79e078d17bbf8a021ece45365df54021048e22d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Red Hat Enterprise Linux","version":"9.7","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for ado-trim 2.3.1

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