ioptimality_criterion¶
-
pyapprox.optimal_experimental_design.
ioptimality_criterion
(homog_outer_prods, design_factors, pred_factors, design_prob_measure, return_grad=True, noise_multiplier=None, regression_type='lstsq')[source]¶ Evaluate the I-optimality criterion for a given design probability measure for the linear model
\[y(x) = F(x)\theta+\eta(x)\epsilon.\]The criteria is
\[\int_\Xi g(\xi) C(\mu) g(\xi) d\nu(\xi)\]where
\[C(\mu) = M_1^{-1} M_0 M^{-1}\]- Parameters
- homog_outer_prodsnp.ndarray (num_design_factors,num_design_factors,
num_design_pts)
The outer_products \(f(x_i)f(x_i)^T\) for each design point \(x_i\)
- design_factorsnp.ndarray (num_design_pts,num_design_factors)
The design factors evaluated at each of the design points
- pred_factorsnp.ndarray (num_pred_pts,num_pred_factors)
The prediction factors \(g\) evaluated at each of the prediction points
- design_prob_measurenp.ndarray (num_design_pts)
The prob measure \(\mu\) on the design points
- return_gradboolean
True - return the value and gradient of the criterion False - return only the value of the criterion
- noise_multipliernp.ndarray (num_design_pts)
The design dependent noise function \(\eta(x)\)
- regression_typestring
The method used to compute the coefficients of the linear model. Currently supported options are
lstsq
andquantile
.
- Returns
- valuefloat
The value of the objective function
- gradnp.ndarray (num_design_pts)
The gradient of the objective function. Only if return_grad is True.