mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
Tutorial improved (and finished)
This commit is contained in:
parent
96c3de24e3
commit
98a4f06dbc
1 changed files with 8 additions and 1 deletions
|
|
@ -112,11 +112,18 @@ A shortcut for ``add`` and ``prod`` is provided by the usual ``+`` and ``*`` ope
|
||||||
:align: center
|
:align: center
|
||||||
:height: 300px
|
:height: 300px
|
||||||
|
|
||||||
In general, ``kern`` objects can be seen as a sum of ``kernparts`` objects, where the later are covariance functions denied on the same space ::
|
In general, ``kern`` objects can be seen as a sum of ``kernparts`` objects, where the later are covariance functions denied on the same space. For example, the following code ::
|
||||||
|
|
||||||
k = (k1+k2)*(k1+k2)
|
k = (k1+k2)*(k1+k2)
|
||||||
print k.parts[0].name, '\n', k.parts[1].name, '\n', k.parts[2].name, '\n', k.parts[3].name
|
print k.parts[0].name, '\n', k.parts[1].name, '\n', k.parts[2].name, '\n', k.parts[3].name
|
||||||
|
|
||||||
|
returns ::
|
||||||
|
|
||||||
|
rbf<times>rbf
|
||||||
|
rbf<times>periodic_Mat52
|
||||||
|
periodic_Mat52<times>rbf
|
||||||
|
periodic_Mat52<times>periodic_Mat52
|
||||||
|
|
||||||
Constraining the parameters
|
Constraining the parameters
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue