sbi.analysis.plot_tarp

Navigation

sbi.analysis.plot_tarp#

plot_tarp(ecp, alpha, title=None)[source]#

Plots the expected coverage probability (ECP) against the credibility level,alpha, for a given alpha grid.

Parameters:
  • ecp (Tensor) – numpy.ndarray Array of expected coverage probabilities.

  • alpha (Tensor) – numpy.ndarray Array of credibility levels.

  • title (str | None) –

    str, optional

    Title for the plot. The default is “”.

    Returns
    figmatplotlib.figure.Figure

    The figure object.

    axmatplotlib.axes.Axes

    The axes object.

Return type:

Tuple[Figure, Axes]