R/gptk_gpGradient.R

Defines functions .gpGradient

.gpGradient <-
function(params, model) {

  model = .gpExpandParam(model, params)
  ## only necessary parts from gpLogLikeGradients implemented!

#   if (model$optimiseBeta && !model$fixInducing)
#     browser()

  g = - .gpLogLikeGradients(model)

  return (g)
}

Try the robin package in your browser

Any scripts or data that you put into this service are public.

robin documentation built on May 17, 2022, 1:07 a.m.