Skip to content

Quickstart Guide

You will need:

Random Pooler and Sampler are part of the autora-core package and do not need to be installed separately

You can import and invoke the pool like this:

from autora.variable import VariableCollection, Variable
from autora.experimentalist.random import pool

    VariableCollection(independent_variables=[Variable(name="x", allowed_values=range(10))]),

You can import the sampler like this:

from autora.experimentalist.random import sample

sample([1, 1, 2, 2, 3, 3], num_samples=2)