mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-28 14:26:23 +02:00
Trying to get plotting working
This commit is contained in:
parent
a647e41c84
commit
ee22b77fe9
2 changed files with 12 additions and 11 deletions
|
|
@ -9,14 +9,13 @@ Gaussian process regression tutorial
|
|||
|
||||
.. 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()
|
||||
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue