Aopt
- class pyoptex.doe.fixed_structure.metric.Aopt(W=None, cov=None)[source]
The A-optimality criterion. Computes the average trace if multiple Vinv are provided.
Attributes
- covfunc(Y, X)
A function computing the covariate parameters and potential extra random effects.
- WNone or np.array(1d)
The weights for computing A-optimality.
- __init__(W=None, cov=None)[source]
Creates the metric
Parameters
- WNone or np.array(1d)
The weights for computing A-optimality.
- covfunc(Y, X)
The covariance function.
Methods
Aopt.call(Y, X, params)Computes the A-optimality criterion.
Aopt.init(Y, X, params)Initializes the metric for each random initialization of the coordinate-exchange algorithm.
Aopt.preinit(params)Pre-initializes the metric