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:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ado_trim-2.1.1.tar.gz (41.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ado_trim-2.1.1-py3-none-any.whl (40.4 kB view details)

Uploaded Python 3

File details

Details for the file ado_trim-2.1.1.tar.gz.

File metadata

  • Download URL: ado_trim-2.1.1.tar.gz
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","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}

File hashes

Hashes for ado_trim-2.1.1.tar.gz
Algorithm Hash digest
SHA256 511833e2d3eae1b51851586e85c6252a78f53c192bb8bcf601f372bd5db4bd25
MD5 c41faa6c5a9bbb3d1edac1fd628a1d05
BLAKE2b-256 c8c8edbab2ac9d1a74c2279f44541fb6b1c8a8773642dd3a20c8d144896b12aa

See more details on using hashes here.

File details

Details for the file ado_trim-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: ado_trim-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 40.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","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}

File hashes

Hashes for ado_trim-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79195458ca3df3031daf53cd6dbfd09268c69e1763b32fdd04d50b2912e6cfeb
MD5 d495401df8f37897f9a3f6eaa13e30c1
BLAKE2b-256 f0cb081f52761d9e99697ebe1af0a21b655e37f8669e5d2f3a48322e5ad92077

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.1.1 This release

2 files

2.1.0

2 files

2.0.4

2 files

2.0.3

2 files

1.8.0

2 files

1.7.0

2 files

1.6.0

2 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