File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
pymc_experimental/inference Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 13
13
# limitations under the License.
14
14
15
15
16
+ import logging
17
+
16
18
from functools import reduce
17
19
from itertools import product
18
20
from typing import Literal
26
28
27
29
from arviz import dict_to_dataset
28
30
from better_optimize .constants import minimize_method
29
- from inference .find_map import (
30
- _log ,
31
- _unconstrained_vector_to_constrained_rvs ,
32
- find_MAP ,
33
- get_nearest_psd ,
34
- scipy_optimize_funcs_from_loss ,
35
- )
36
31
from pymc import DictToArrayBijection
37
32
from pymc .backends .arviz import (
38
33
coords_and_dims_for_inferencedata ,
45
40
from pymc .util import get_default_varnames
46
41
from scipy import stats
47
42
43
+ from pymc_experimental .inference .find_map import (
44
+ _unconstrained_vector_to_constrained_rvs ,
45
+ find_MAP ,
46
+ get_nearest_psd ,
47
+ scipy_optimize_funcs_from_loss ,
48
+ )
49
+
50
+ _log = logging .getLogger (__name__ )
51
+
48
52
49
53
def laplace_draws_to_inferencedata (
50
54
posterior_draws : list [np .ndarray [float | int ]], model : pm .Model | None = None
You can’t perform that action at this time.
0 commit comments