Learn R Programming

epiworldRcalibrate (version 0.1.4)

init_bilstm_model: Initialize BiLSTM Model for SIR Parameter Estimation

Description

Loads the trained BiLSTM model and associated scaler objects into memory. Requires that Python dependencies have been set up via setup_python_deps.

Usage

init_bilstm_model(model_dir = NULL, force_reload = FALSE)

Value

Invisibly returns TRUE on success.

Arguments

model_dir

Optional path to model directory. Defaults to the package's bundled model files.

force_reload

Logical; reload even if already loaded.