378e65a8aa8f0be4e1b9e1c1c0e2e1c85bf12271,examples/pairplot.py,,,#,11
Before Change
// Data of the Eight Schools Model
J = 8
y = np.array([28., 8., -3., 7., -1., 1., 18., 12.])
sigma = np.array([15., 10., 16., 11., 9., 11., 10., 18.])
with pm.Model() as centered_eight:
mu = pm.Normal("mu", mu=0, sd=5)
tau = pm.HalfCauchy("tau", beta=5)
theta = pm.Normal("theta", mu=mu, sd=tau, shape=J)
obs = pm.Normal("obs", mu=theta, sd=sigma, observed=y)
centered_eight_trace = pm.sample()
az.pairplot(centered_eight_trace,
var_names=["theta__0", "theta__1", "tau", "mu"],
After Change
centered = az.load_arviz_data("centered_eight")
coords = {"school": ["Choate", "Deerfield"]}
az.pairplot(centered, var_names=["theta", "mu"], coords=None, divergences=True)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: arviz-devs/arviz
Commit Name: 378e65a8aa8f0be4e1b9e1c1c0e2e1c85bf12271
Time: 2018-09-08
Author: ravinsdrive@gmail.com
File Name: examples/pairplot.py
Class Name:
Method Name:
Project Name: geomstats/geomstats
Commit Name: 5210177ed979a9b08000d0a37a21abe3ff823fec
Time: 2018-01-28
Author: ninamio78@gmail.com
File Name: tests/test_invariant_metric.py
Class Name: TestInvariantMetricMethods
Method Name: setUp
Project Name: tryolabs/luminoth
Commit Name: 9087f87adf5983e10f5dcb88ed60b6b80ad367e8
Time: 2017-08-11
Author: gaston@Gastons-MacBook-Pro.local
File Name: luminoth/models/fasterrcnn/rpn_anchor_target_test.py
Class Name: RPNAnchorTargetTest
Method Name: setUp