rxmc.predictive.predictive_band#

rxmc.predictive.predictive_band(draws, levels=(16, 50, 84)) → ndarray[source]#

Percentile band over a matrix of predictive draws.

Parameters:
  • draws (array-like, shape (n_draws, n_points)) – Predictive samples (each row a function evaluated on a grid).

  • levels (sequence of float, optional) – Percentile levels.

Returns:

np.ndarray, shape (len(levels), n_points)