Skip to contents

This function constructs a likelihood object to represent a negative Binomial likelihood node.

Usage

NegBin(input_dim = NULL)

Arguments

input_dim

a vector of length two that contains the indices of two GP nodes in the feeding layer whose outputs feed into this likelihood node. When set to NULL, all outputs from GP nodes in the feeding layer feed into this likelihood node, and in such a case one needs to ensure that only two GP nodes are specified in the feeding layer. Defaults to NULL.

Value

A 'python' object to represent a negative Binomial likelihood node.

Details

See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.

Note

The negative Binomial likelihood node can only be linked to two feeding GP nodes.

Examples

if (FALSE) {

# Check https://mingdeyu.github.io/dgpsi-R/ for examples
# on how to customize DGP structures using NegBin().
}