Exemplo n.º 1
0
"""
Separationplot
==========

_thumb: .2, .8
"""
import matplotlib.pyplot as plt

import arviz as az

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

idata = az.load_arviz_data("classification10d")

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

plt.show()
Exemplo n.º 2
0
"""
Separationplot
==========

_thumb: .2, .8
"""
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")