Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

AutoRA Mixture Experimentalist

The Mixture Experimentalist identifies novel experimental conditions under which a hybrid of different experimental sampling strategies is used. This mixture can include any custom strategies such as falsification, novelty, crucial experimentation, uncertainty, elimination, aesthetic preferences, and arbitrary preferred/dispreferred regions of the space. The selection of conditions is based on a weighted sum of the scores obtained from these strategies.

Quickstart Guide

You will need:

Mixture Experimentalist is a part of the AutoRA package:

pip install -U autora["experimentalist-mixture"]

Check your installation by running:

python -c "from autora.experimentalist.mixture import mixture_sample"

Usage

The Mixture Experimentalist can be used to select experimental conditions based on a mixture of different strategies. Here's a basic example:

from autora.experimentalist.mixture import mixture_sample

# Define your condition pool, temperature, samplers, and parameters
condition_pool = ...
temperature = ...
samplers = ...
params = ...

# Use the mixture_sampler to select conditions
selected_conditions = mixture_sample(
    condition_pool=condition_pool,
    temperature=temperature,
    samplers=samplers,
    params=params,
    num_samples=10
)

In this example, condition_pool is the pool of experimental conditions to evaluate, temperature controls the randomness of the selection (close to 0 for deterministic, higher for more random), samplers is a list of sampler functions with their weights in the mixture, and params is a dictionary of parameters for the sampler functions.

For more detailed usage instructions and examples, please refer to the documentation: https://github.com/blinodelka/mixture_experimental_strategies/blob/main/docs/basic-usage.ipynb.

Release files for mixture-experimentalist 1.0.0a7

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

Source distribution (sdist)

Source distribution for mixture-experimentalist 1.0.0a7
File Size Uploaded
mixture_experimentalist-1.0.0a7.tar.gz 155.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mixture-experimentalist 1.0.0a7
File Interpreter ABI Platform
mixture_experimentalist-1.0.0a7-py3-none-any.whl Python 3 none any Details

Total release size: 160.5 kB

Release files / mixture_experimentalist-1.0.0a7.tar.gz

Download URL mixture_experimentalist-1.0.0a7.tar.gz
Size 155.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c69d8c6d1c2ddfa3533f52d1e3b00859beee346cb4dd2f66358f91930b0120af
BLAKE2b-256 checksum
How to use checksums
3602c0918b2c271552d260775c72e3282742300394d125ceb653844d1bfd4489
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / mixture_experimentalist-1.0.0a7-py3-none-any.whl

Download URL mixture_experimentalist-1.0.0a7-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80d002eca1c8a8fc8f776da85f7fcbaf91140a426c9a4042da10c30b2f4d5a49
BLAKE2b-256 checksum
How to use checksums
e152d980ec7a5e2ab0bd7d2d03cb3e9e7575d9ddac79c99af271d59289dce53c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17
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