Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
William Wilkinson authored and William Wilkinson committed Dec 15, 2023
1 parent bd6a1ee commit 75df8c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bayesnewton/kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def feedback_matrix(self):
raise NotImplementedError

def state_transition(self, dt):
# TODO(32): fix prediction when using expm to compute the state transition.
F = self.feedback_matrix()
A = expm(F * dt)
return A
Expand Down Expand Up @@ -1730,6 +1731,7 @@ def __init__(self,
assert N.shape == R.shape
self.N_ = objax.StateVar(np.array(N))
self.R_ = objax.StateVar(np.array(R))
warn("Prediction is partially broken when using the LatentExponentiallyGenerated kernel. See issue #32.")

@property
def N(self):
Expand Down

0 comments on commit 75df8c8

Please sign in to comment.