create_fixed_structure_design

pyoptex.doe.fixed_structure.wrapper.create_fixed_structure_design(params, n_tries=10, max_it=10000, validate=False)[source]

Creates an optimal design for the specified factors, using the parameters.

Parameters

paramsParameters)

The simulation parameters.

n_triesint

The number of random start repetitions. Must be larger than zero.

max_itint

The maximum number of iterations per random initialization for the coordinate-exchange algorithm. Prevents infinite loop scenario.

validatebool

Whether to validate each state.

Returns

Ypd.DataFrame

A pandas dataframe with the best found design. The design is decoded and denormalized.

best_stateState

The state corresponding to the returned design. Contains the encoded design, model matrix, metric, etc.