moved doc back from kern.src to kern

This commit is contained in:
bobturneruk 2020-04-22 11:24:36 +01:00
parent 24549e8c7d
commit 27ccdc74ee
2 changed files with 11 additions and 8 deletions

View file

@ -1,4 +1,15 @@
"""
In terms of Gaussian Processes, a kernel is a function that specifies the degree of similarity between variables given their relative positions in parameter space. If known variables *x* and *x'* are close together then observed variables *y* and *y'* may also be similar, depending on the kernel function and its parameters.
:py:class:`GPy.kern.src.kern.Kern` is a generic kernel object inherited by more specific, end-user kernels used in models. It provides methods that specific kernels should generally have such as :py:class:`GPy.kern.src.kern.Kern.K` to compute the value of the kernel, :py:class:`GPy.kern.src.kern.Kern.add` to combine kernels and numerous functions providing information on kernel gradients.
.. inheritance-diagram:: GPy.kern.src.kern.Kern
:top-classes: GPy.core.parameterization.parameterized.Parameterized
"""
from .src.kern import Kern
from .src.add import Add
from .src.prod import Prod

View file

@ -1,10 +1,2 @@
"""
In terms of Gaussian Processes, a kernel is a function that specifies the degree of similarity between variables given their relative positions in parameter space. If known variables *x* and *x'* are close together then observed variables *y* and *y'* may also be similar, depending on the kernel function and its parameters.
.. inheritance-diagram:: GPy.kern.src.kern.Kern
:top-classes: GPy.core.parameterization.parameterized.Parameterized
"""
from . import psi_comp