mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-18 13:55:14 +02:00
Few changes to tutorial bis
This commit is contained in:
parent
72544f3b81
commit
deb0430d34
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ Let us assume that we want to define an ANOVA kernel with a Matern 3/2 kernel fo
|
||||||
Kanova = (k_cst + k_mat) * (k_cst + k_mat)
|
Kanova = (k_cst + k_mat) * (k_cst + k_mat)
|
||||||
print Kanova
|
print Kanova
|
||||||
|
|
||||||
Note the ties between the lengthscales of ``Kanova`` to keep the number of lengthscales equal to 2. On the other hand, there are four variance terms in the new parameterization: one for each term of the right hand sign of the equation above. We can illustrate the use of this kernel on a toy example::
|
Note the ties between the lengthscales of ``Kanova`` to keep the number of lengthscales equal to 2. On the other hand, there are four variance terms in the new parameterization: one for each term of the right hand part of the above equation. We can illustrate the use of this kernel on a toy example::
|
||||||
|
|
||||||
# sample inputs and outputs
|
# sample inputs and outputs
|
||||||
X = np.random.uniform(-3.,3.,(40,2))
|
X = np.random.uniform(-3.,3.,(40,2))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue