Learn R Programming

NeuralEstimators (version 0.2.0)

posteriormode: posteriormode

Description

Computes the (approximate) posterior mode (maximum a posteriori estimate) given data Z.

Usage

posteriormode(estimator, Z, ...)

Value

a d × K matrix of posterior samples, where d is the dimension of the parameter vector and K is the number of data sets provided in Z

Arguments

estimator

a neural posterior or likelihood-to-evidence-ratio estimator

Z

data in a format amenable to the neural-network architecture of estimator

...

additional keyword arguments passed to the Julia version of posteriormode()

See Also

sampleposterior() for sampling from the approximate posterior distribution