verse.utils.utils.confidence_polytope
- verse.utils.utils.confidence_polytope(data: dict, parameter_box: ndarray) Tuple[ndarray, ndarray, ndarray, float]
Compute a confidence polytope over the parameter theta, where y = theta^T phi
- Parameters:
data – a dictionary {“features”: [phi_0,…,phi_N], “outputs”: [y_0,…,y_N]}
parameter_box – a box [theta_min, theta_max] containing the parameter theta
- Returns:
estimated theta, polytope vertices, Gramian matrix G_N_lambda, radius beta_N