Description Details Super class Public fields Methods
The likelihood of y_i given f_i is given by the logistic function with input y_i f_i (where the binary labels for y are encoded by 1 and -1). It takes no hyperparameters.
The log likelihood is given by
∑_i -log ( 1 + exp( -y_i f_i ) )
gpmss::LikelihoodFunction -> LikLogis
nameA character vector of length one giving the likelihood function's name; "logistic"
hypersA numeric vector giving the likelihood function's hyperparameters
lp()Compute log probability of outcomes given function values
LikLogis$lp(y, f, hypers = NULL)
yThe observed outcomes
fThe function values (generally a posterior mean or mode)
hypersA numeric vector giving hyperparameters for the likelihood function. If NULL (the default), the hypers data member is used.
f_derivative()Compute partial derivatives of log likelihood function with respect to f
LikLogis$f_derivative(y, f, hypers = NULL, order = 1)
yThe observed outcomes
fThe function values (generally a posterior mean or mode)
hypersA numeric vector giving hyperparameters for the likelihood function. If NULL (the default), the hypers data member is used.
orderAn integer vector of length one giving order of derivative desired; the default is 1
clone()The objects of this class are cloneable with this method.
LikLogis$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.