Uses Stan sampler and math library to semiparametrically fit linear and multilevel models with additive Bayesian Additive Regression Tree (BART) components.
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.
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
andrange.bart
are used forprediction
as mentioned butinvisible(model$sampler.bart)
does not bring the desired success.Best and thanks again Louis