mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-02 00:02:38 +02:00
Rename Binomial to Bernoulli (maybe generalise it with the constant
later, but tilted distribution may change)
This commit is contained in:
parent
afd38df1ef
commit
f3fd9f1325
9 changed files with 34 additions and 33 deletions
|
|
@ -116,7 +116,7 @@ def toy_heaviside(seed=default_seed):
|
|||
Y[Y.flatten() == -1] = 0
|
||||
|
||||
# Model definition
|
||||
noise_model = GPy.likelihoods.binomial(GPy.likelihoods.noise_models.gp_transformations.Heaviside())
|
||||
noise_model = GPy.likelihoods.bernoulli(GPy.likelihoods.noise_models.gp_transformations.Heaviside())
|
||||
likelihood = GPy.likelihoods.EP(Y,noise_model)
|
||||
m = GPy.models.GPClassification(data['X'], likelihood=likelihood)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue