You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Envelope write (R/Python): gather scalars/params from the held BART/BCFSamples, serialize forests via the existing C++ ForestContainer serialization, serialize random effects similarly, assemble the unified envelope, and embed the language's native covariate_preprocessor + portability header (the native preprocessor stays serialized by the language that owns it).
Envelope read (R/Python): parse the unified envelope; load forests via the existing procedures; rebuild the preprocessor (if cross-platform be sure to handle all-numeric instructions correctly).
BART/BCFSamples construction: populate/construct an in-memory samples object from R/Python-provided forest containers + parameter arrays (copying parameter array, moving pointers).
Sampler takes BARTSampler(BARTSamples&, …) / BCFSampler(BCFSamples&, …) -- continued sampling operates on the in-memory object; from-disk = read -> populate -> resume.
BART/BCFSamples, serialize forests via the existing C++ForestContainerserialization, serialize random effects similarly, assemble the unified envelope, and embed the language's nativecovariate_preprocessor+ portability header (the native preprocessor stays serialized by the language that owns it).BART/BCFSamplesconstruction: populate/construct an in-memory samples object from R/Python-provided forest containers + parameter arrays (copying parameter array, moving pointers).BARTSampler(BARTSamples&, …)/BCFSampler(BCFSamples&, …)-- continued sampling operates on the in-memory object; from-disk = read -> populate -> resume.BARTSamplesin Python (and vice versa) and predicts / continues.