File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818from collections .abc import Callable , Sequence
1919from typing import Any
2020
21- from arviz import InferenceData
22- from xarray import DataArray
2321import numpy as np
2422import pytensor
2523import pytensor .tensor as pt
2624
25+ from arviz import InferenceData
2726from numpy import random as nr
2827from numpy import testing as npt
2928from pytensor .compile .mode import Mode
3332from pytensor .tensor .random .op import RandomVariable
3433from scipy import special as sp
3534from scipy import stats as st
35+ from xarray import DataArray
3636
3737import pymc as pm
3838
@@ -1028,7 +1028,7 @@ def mock_pymc_sample():
10281028 coords = {"chain" : np .arange (n_chains )},
10291029 )
10301030 idata .add_groups (
1031- posterior = (idata .prior .mean ("chain" ) * expanded_chains ).transpose ("chain" , "draw" , ...)
1031+ posterior = (idata .prior .mean ("chain" ) * expanded_chains ).transpose ("chain" , "draw" , ...),
10321032 )
10331033 del idata .prior
10341034 if "prior_predictive" in idata :
You can’t perform that action at this time.
0 commit comments