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

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.2.0
File Size Uploaded
ado_trim-2.2.0.tar.gz 44.5 kB Details

Built distribution (wheel)

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

Total release size: 88.5 kB

Release files / ado_trim-2.2.0.tar.gz

Download URL ado_trim-2.2.0.tar.gz
Size 44.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d097a055a9ca400009ec8903028022b55e262e4939a25cb5556f0e04c9b9849d
BLAKE2b-256 checksum
How to use checksums
6f26cbfea939ed9e04755b29789f534710f4f3141b8e9c6890091a2b4afe05fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","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.2.0-py3-none-any.whl

Download URL ado_trim-2.2.0-py3-none-any.whl
Size 44.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7713de7a638d37dd841404968c79f03733709d767122f31b91d0712ba6419d0
BLAKE2b-256 checksum
How to use checksums
e2d2d0d6c69cb6e8d8d0b70b7526b73eb907082cc05913e64bc276f567a991db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","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 history Release notifications | RSS feed

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

This release

2.2.0 This release

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.4

2 release files

2.0.3

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.6.0

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