estimate {NeuralEstimators} | R Documentation |
estimate
Description
Apply a neural estimator to data
Usage
estimate(estimator, Z, X = NULL, batchsize = 32, use_gpu = TRUE)
Arguments
estimator |
a neural estimator that can be applied to data in a call of the form |
Z |
data in a format amenable to the neural-network architecture of |
X |
additional inputs to the neural network; if provided, the call will be of the form |
batchsize |
the batch size for applying |
use_gpu |
boolean indicating whether to use the GPU if it is available |
Value
a matrix of outputs resulting from applying estimator
to Z
(and possibly X
)
See Also
sampleposterior()
for making inference with neural posterior or likelihood-to-evidence-ratio estimators
[Package NeuralEstimators version 0.2.0 Index]