
Print the fit-summary block shared by print.nsbi_npe(), print.nsbi_nle() and print.nsbi_snpe()
Source: R/utils.R
cat_fit_common.RdParameter names, outcome names, the embedding line (when the fit used
one), the simulation count and any drops, the best validation loss, and
the dead-network warning read the same fields regardless of which
factorization was learned. save_fn_name is the one line that legitimately
differs between an NPE and an NLE fit, so it is the one argument callers
must supply.
Arguments
- x
An
nsbi_npe- ornsbi_nle-family fit.- save_fn_name
Name of the save function to point to in the dead-network warning, e.g.
"save_npe"; the matchingload_*()name is derived from it.- data_suffix
Text appended to the "data (dim)" line before its newline, e.g.
" per observation"fornle().