Skip to content

Commit a54c7b2

Browse files
added TODO
1 parent 30090ed commit a54c7b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymc_extras/inference/laplace.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ def find_mode(
429429
raise NotImplementedError("Currently assumes user specifies the Gaussian latent field x")
430430

431431
# Minimise negative log likelihood
432+
# TODO: NLL already computs jac by default. Need to check how to access
432433
loss_x = -model.logp()
433434
# TODO Need to think about how to get inputs (i.e. a collection of all the input variables) to go along with the specific
434435
# variable x, i.e. f(x, *args). I assume I can't assume that the inputs arg will be ordered to have x first. May need to sort it somehow

0 commit comments

Comments
 (0)