mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-01 07:46:22 +02:00
Changes in plotting functions.
This commit is contained in:
parent
f7d2fc6ca4
commit
5e2baf1919
5 changed files with 71 additions and 31 deletions
|
|
@ -84,7 +84,7 @@ def toy_linear_1d_classification(seed=default_seed):
|
|||
likelihood = GPy.likelihoods.EP(data['Y'][:, 0:1],distribution)
|
||||
|
||||
# Model definition
|
||||
m = GPy.models.GP(data['X'],kernel,likelihood=likelihood)
|
||||
m = GPy.models.GP(data['X'],likelihood=likelihood,kernel=kernel)
|
||||
|
||||
# Optimize
|
||||
"""
|
||||
|
|
@ -98,9 +98,9 @@ def toy_linear_1d_classification(seed=default_seed):
|
|||
|
||||
# Plot
|
||||
pb.subplot(211)
|
||||
m.plot_GP()
|
||||
m.plot_internal()
|
||||
pb.subplot(212)
|
||||
m.plot_output()
|
||||
m.plot()
|
||||
print(m)
|
||||
|
||||
return m
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue