create_parameters
- pyoptex.doe.fixed_structure.wrapper.create_parameters(factors, fn, nruns, block_effects=(), prior=None, grps=None)[source]
Creates the parameters object by preprocessing the inputs. This is a utility function to transform each variable to its correct representation.
Parameters
- factorslist(
Factor) The list of factors.
- fn
FunctionSet A set of operators for the algorithm.
- nrunsint
Total number of runs (prior + new when augmenting).
- block_effectslist(
RandomEffect) Any additional blocking effects, not assigned to a factor.
- priorNone or pd.DataFrame
Optional prior design for augmentation. Must be denormalized and decoded; rows correspond to the first
len(prior)rows of the new design.- grpsNone or list(np.ndarray or None)
Optional list of additional group indices to optimize per factor (on top of automatically determined new groups when prior is given).
Returns
- params
Parameters The simulation parameters.
- factorslist(