Hyperparameters: Create an object of class 'Hyperparameters'

Description Usage Arguments Details Value See Also Examples

View source: R/methods-Hyperparameters.R

Description

Create an object of class 'Hyperparameters'

The elements of the list are named by the type of model (SB, MB, SBP, MBP).

Usage

1
2
3
Hyperparameters(type = "batch", k = 2L, ...)

hpList(...)

Arguments

type

specifies 'marginal' or 'batch'

k

number of components

...

additional arguments passed to hyperparameter constructors

Details

Additional hyperparameters can be passed to the HyperparametersMarginal and HyperparametersBatch models.

Value

An object of class HyperparametersMarginal or HyperparametersBatch

a list of hyperparameter objects

See Also

HyperparametersMultiBatch Hyperparameters

Examples

1
2
3
     hypp <- Hyperparameters("marginal", k=2)
hp.list <- hpList(k=3)
hp.list[["SB"]]

CNPBayes documentation built on Nov. 17, 2017, 8:27 a.m.