verse.utils.utils.is_consistent_dataset

verse.utils.utils.is_consistent_dataset(data: dict, parameter_box: ndarray = None) bool

Check whether a dataset {phi_n, y_n} is consistent

The last observation should be in the confidence ellipsoid obtained by the N-1 first observations.

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:

consistency of the dataset