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:
- Python 3.8 or greater: https://www.python.org/downloads/
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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mixture_experimentalist-1.0.0a7.tar.gz | 155.8 kB | Without provenance | Details for mixture_experimentalist-1.0.0a7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mixture_experimentalist-1.0.0a7-py3-none-any.whl | Python 3 | none | any | Details for mixture_experimentalist-1.0.0a7-py3-none-any.whl |
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
|
Security for mixture-experimentalist 1.0.0a7
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.