create_parameters

pyoptex.doe.cost_optimal.codex.wrapper.create_parameters(factors, fn, prior=None, use_formulas=True)[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.

fnFunctionSet

A set of operators for the algorithm.

priorNone or pd.DataFrame

A possible prior design to use for augmentation. Must be denormalized and decoded.

use_formulasbool

Whether to use the internal update formulas or not.

Returns

paramsParameters

The simulation parameters.