stan4bart
stan4bart copied to clipboard
Saving Model to a *.RData object
Hi,
how do I save the model to an *.RData object so that I can perform a prediction after reloading?
In the dbarts package you have to touch the pointer via invisible(model$fit$state)
to store it as an internal R object. Is there something similar to your package?
sampler.bart
and range.bart
are used for prediction
as mentioned but invisible(model$sampler.bart)
does not bring the desired success.
Best and thanks again Louis
It hasn't been implemented yet, as I would have to write something to serialize the C++ internal state to R objects.