File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pymc_experimental/inference Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def fit_laplace(
162
162
)
163
163
164
164
f_logp , f_grad , f_hess , f_hessp = make_jax_funcs_from_graph (
165
- logp ,
165
+ cast ( TensorVariable , logp ) ,
166
166
use_grad = True ,
167
167
use_hess = True ,
168
168
use_hessp = False ,
@@ -376,8 +376,8 @@ def find_MAP(
376
376
Seed for the random number generator or a numpy Generator for reproducibility
377
377
return_raw: bool | False, optinal
378
378
Whether to also return the full output of `scipy.optimize.minimize`
379
- jitter : bool , optional
380
- Whether to add jitter to the initial values. Defaults to False .
379
+ jitter_rvs : list of TensorVariables , optional
380
+ Variables whose initial values should be jittered. If None, all variables are jittered .
381
381
progressbar : bool, optional
382
382
Whether to display a progress bar during optimization. Defaults to True.
383
383
include_transformed: bool, optional
You can’t perform that action at this time.
0 commit comments