FIX: SDE inference. Couple of bug fixes and minor syntactic madifications.

This commit is contained in:
Alexander Grigorievskiy 2016-03-08 17:56:20 +02:00
parent 3ef070a0dc
commit 529ac15cdf
12 changed files with 199 additions and 180 deletions

View file

@ -63,9 +63,10 @@ class StateSpace(Model):
# Default kernel
if kernel is None:
self.kern = kern.Matern32(1)
raise ValueError("State-Space Model: the kernel must be provided.")
else:
self.kern = kernel
self.link_parameter(self.kern)
self.link_parameter(self.likelihood)
self.posterior = None