posteriormode {NeuralEstimators} | R Documentation |
posteriormode
Description
Computes the (approximate) posterior mode (maximum a posteriori estimate) given data Z
.
Usage
posteriormode(estimator, Z, ...)
Arguments
estimator |
a neural posterior or likelihood-to-evidence-ratio estimator |
Z |
data in a format amenable to the neural-network architecture of |
... |
additional keyword arguments passed to the Julia version of |
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
See Also
sampleposterior()
for sampling from the approximate posterior distribution
[Package NeuralEstimators version 0.2.0 Index]