general_pool
grid_pool(ivs)
Creates exhaustive pool from discrete values using a Cartesian product of sets
Source code in autora/experimentalist/pooler/general_pool.py
10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
random_pool(*args, n=1, duplicates=True)
Creates combinations from lists of discrete values using random selection.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
*args |
m lists of discrete values. One value will be sampled from each list. |
()
|
|
n |
Number of samples to sample |
1
|
|
duplicates |
Boolean if duplicate value are allowed. |
True
|
Source code in autora/experimentalist/pooler/general_pool.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
|