mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-27 14:25:16 +02:00
Added matplotlib test, probably won't work
This commit is contained in:
parent
88e1b92554
commit
d504fd0c73
1 changed files with 12 additions and 0 deletions
|
|
@ -7,6 +7,18 @@ Gaussian process regression tutorial
|
||||||
print "Hello world"
|
print "Hello world"
|
||||||
X = [[1, 10], [1, 20], [1, -2]]
|
X = [[1, 10], [1, 20], [1, -2]]
|
||||||
|
|
||||||
|
.. plot::
|
||||||
|
|
||||||
|
import matplotlib.pyplot as plt
|
||||||
|
import numpy as np
|
||||||
|
x = np.random.randn(1000)
|
||||||
|
plt.hist( x, 20)
|
||||||
|
plt.grid()
|
||||||
|
plt.title(r'Normal: $\mu=%.2f, \sigma=%.2f$'%(x.mean(), x.std()))
|
||||||
|
plt.show()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
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 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: ::
|
We first import the libraries we will need: ::
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue