50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

NeuralEstimators (version 0.2.0)

loadstate: Load a saved state of a neural estimator

Description

Load a saved state of a neural estimator (e.g., optimised neural-network parameters). Useful for amortised inference, whereby a neural network is trained once and then used repeatedly to make inference with new data sets.

Usage

loadstate(estimator, filename)

Value

estimator updated with the saved state

Arguments

estimator

the neural estimator that we wish to load the state into

filename

file name (including path) of the neural-network state stored in a bson file