mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-10 12:32:40 +02:00
[paramz] started to pull paramz out
This commit is contained in:
parent
6c5b40cb29
commit
e49c75ce2e
23 changed files with 84 additions and 5286 deletions
|
|
@ -4,7 +4,7 @@
|
|||
import numpy as np
|
||||
import sys
|
||||
from .. import kern
|
||||
from .model import Model
|
||||
from GPy.core.probabilistic_model import Model
|
||||
from .parameterization import ObsAr
|
||||
from .mapping import Mapping
|
||||
from .. import likelihoods
|
||||
|
|
@ -542,7 +542,7 @@ class GP(Model):
|
|||
:param optimize: whether to optimize the location of new X (True by default)
|
||||
:type optimize: boolean
|
||||
:return: a tuple containing the posterior estimation of X and the model that optimize X
|
||||
:rtype: (:class:`~GPy.core.parameterization.variational.VariationalPosterior` and numpy.ndarray, :class:`~GPy.core.model.Model`)
|
||||
:rtype: (:class:`~GPy.core.parameterization.variational.VariationalPosterior` and numpy.ndarray, :class:`~GPy.core.probabilistic_model.Model`)
|
||||
"""
|
||||
from ..inference.latent_function_inference.inferenceX import infer_newX
|
||||
return infer_newX(self, Y_new, optimize=optimize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue