mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-11 13:02:38 +02:00
further corrections
This commit is contained in:
parent
efa782c636
commit
7361d311c1
4 changed files with 68 additions and 26 deletions
|
|
@ -31,7 +31,8 @@ class GPClassification(GP):
|
|||
kernel = kern.rbf(X.shape[1])
|
||||
|
||||
if likelihood is None:
|
||||
distribution = likelihoods.likelihood_functions.Binomial()
|
||||
#distribution = GPy.likelihoods.binomial_likelihood.Binomial(link=link)
|
||||
distribution = likelihoods.binomial_likelihood.Binomial()
|
||||
likelihood = likelihoods.EP(Y, distribution)
|
||||
elif Y is not None:
|
||||
if not all(Y.flatten() == likelihood.data.flatten()):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue