mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-12 13:32:39 +02:00
fixed bug introduced my merge
This commit is contained in:
parent
8d5fc8a2e2
commit
d8a627c1d8
1 changed files with 1 additions and 1 deletions
|
|
@ -22,8 +22,8 @@ class GP(GPBase):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
def __init__(self, X, Y, kernel, likelihood, inference_method=None, name='gp'):
|
def __init__(self, X, Y, kernel, likelihood, inference_method=None, name='gp'):
|
||||||
super(GP, self).__init__(X, likelihood, kernel, normalize_X=normalize_X, name=name)
|
|
||||||
|
|
||||||
|
#find a sensible inference method
|
||||||
if inference_method is None:
|
if inference_method is None:
|
||||||
if isinstance(likelihood, likelihoods.Gaussian):
|
if isinstance(likelihood, likelihoods.Gaussian):
|
||||||
inference_method = exact_gaussian_inference.ExactGaussianInference()
|
inference_method = exact_gaussian_inference.ExactGaussianInference()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue