Skip to contents

[Deprecated]

This function is deprecated and will be removed in the next release. To incorporate a negative Binomial likelihood node into a DGP structure, use the likelihood argument in the dgp() function instead.

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) { # \dontrun{

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