You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Currently x is passed both as the query point for f(x, args) = logp(x | y, params) AND as an initial guess for x0. This may cause issues if the query point is
94
94
# far from the mode x0 or in a neighbourhood which results in poor convergence.
x, Q, mu, model, method, use_jac, use_hess, optimizer_kwargs
144
148
)
145
149
146
150
# TODO How to obtain prior? It can parametrise Q, mu, y, etc. Not sure if we could extract from model.logp somehow. Otherwise simply specify as a user input
151
+
# Perhaps obtain as RVs which y depends on which aren't x?
# Could be made more efficient with adding diagonals only
414
+
rng=np.random.default_rng(12345)
415
+
d=3
416
+
Q=np.diag(rng.random(d))
417
+
tau=Q-hess
418
+
419
+
# Currently x is passed both as the query point for f(x, args) = logp(x | y, params) AND as an initial guess for x0. This may cause issues if the query point is
420
+
# far from the mode x0 or in a neighbourhood which results in poor convergence.
0 commit comments