mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-21 14:05:14 +02:00
Fixed more errors in docs 2
This commit is contained in:
parent
7f2472fa22
commit
aa5ebcbd8f
15 changed files with 99 additions and 84 deletions
|
|
@ -47,6 +47,7 @@ class Model(Parameterized):
|
|||
|
||||
:param state: the state of the model.
|
||||
:type state: list as returned from getstate.
|
||||
|
||||
"""
|
||||
self.preferred_optimizer = state.pop()
|
||||
self.sampling_runs = state.pop()
|
||||
|
|
@ -543,10 +544,11 @@ class Model(Parameterized):
|
|||
"""
|
||||
EM - like algorithm for Expectation Propagation and Laplace approximation
|
||||
|
||||
:stop_crit: convergence criterion
|
||||
:param stop_crit: convergence criterion
|
||||
:type stop_crit: float
|
||||
|
||||
..Note: kwargs are passed to update_likelihood and optimize functions. """
|
||||
.. Note: kwargs are passed to update_likelihood and optimize functions.
|
||||
"""
|
||||
assert isinstance(self.likelihood, likelihoods.EP) or isinstance(self.likelihood, likelihoods.EP_Mixed_Noise), "pseudo_EM is only available for EP likelihoods"
|
||||
ll_change = stop_crit + 1.
|
||||
iteration = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue