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 1313# limitations under the License.
1414
1515
16+ import logging
17+
1618from functools import reduce
1719from itertools import product
1820from typing import Literal
2628
2729from arviz import dict_to_dataset
2830from 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- )
3631from pymc import DictToArrayBijection
3732from pymc .backends .arviz import (
3833 coords_and_dims_for_inferencedata ,
4540from pymc .util import get_default_varnames
4641from scipy import stats
4742
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+
4852
4953def laplace_draws_to_inferencedata (
5054 posterior_draws : list [np .ndarray [float | int ]], model : pm .Model | None = None
You can’t perform that action at this time.
0 commit comments