mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 12:32:40 +02:00
changes according to new definitions
This commit is contained in:
parent
5d4e727521
commit
a0ebc382da
1 changed files with 2 additions and 2 deletions
|
|
@ -21,10 +21,10 @@ class GPClassification(GP):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, X, Y, kernel=None):
|
def __init__(self, X, Y, kernel=None,Y_metadata=None):
|
||||||
if kernel is None:
|
if kernel is None:
|
||||||
kernel = kern.RBF(X.shape[1])
|
kernel = kern.RBF(X.shape[1])
|
||||||
|
|
||||||
likelihood = likelihoods.Bernoulli()
|
likelihood = likelihoods.Bernoulli()
|
||||||
|
|
||||||
GP.__init__(self, X=X, Y=Y, kernel=kernel, likelihood=likelihood, name='gp_classification')
|
GP.__init__(self, X=X, Y=Y, kernel=kernel, likelihood=likelihood, name='GPClassification',Y_metadata=Y_metadata)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue