mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
Removed ipython code from tuto
This commit is contained in:
parent
dee0052a80
commit
ed84c0722c
1 changed files with 0 additions and 22 deletions
|
|
@ -2,28 +2,6 @@
|
|||
Gaussian process regression tutorial
|
||||
*************************************
|
||||
|
||||
|
||||
.. ipython:: python
|
||||
|
||||
import numpy as np
|
||||
import GPy as gpy
|
||||
|
||||
"""run a simple demonstration of a standard gaussian process fitting it to data sampled from an rbf covariance."""
|
||||
data = gpy.util.datasets.toy_rbf_1d()
|
||||
|
||||
# create simple gp model
|
||||
m = gpy.models.GP_regression(data['X'],data['Y'])
|
||||
|
||||
# optimize
|
||||
m.ensure_default_constraints()
|
||||
m.optimize()
|
||||
|
||||
print(m)
|
||||
|
||||
# plot
|
||||
m.plot()
|
||||
|
||||
|
||||
We will see in this tutorial the basics for building a 1 dimensional and a 2 dimensional Gaussian process regression model, also known as a kriging model.
|
||||
|
||||
We first import the libraries we will need: ::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue