Separation Plot#

See also

API Documentation: plot_separation()

../_images/mpl_plot_separation.png
import matplotlib.pyplot as plt

import arviz as az

az.style.use("arviz-doc")

idata = az.load_arviz_data("classification10d")

az.plot_separation(idata=idata, y="outcome", y_hat="outcome", figsize=(8, 1))

plt.show()
import arviz as az

idata = az.load_arviz_data("classification10d")

ax = az.plot_separation(idata=idata, y="outcome", y_hat="outcome", figsize=(8, 1), backend="bokeh")