msm
msm copied to clipboard
Saving msm model without underlying data
Is there a way to save a trained msm model without underlying data which was used for the training?
P.S. Thank you for your quick reply to my last question. :)
Not an official way, no. You could delete the $data component of the fitted model object, but various model output functions would then stop working. It's stored in order to facilitate features like bootstrapping that need to know the data.
Perhaps an easier way to save memory/storage would be to just extract the information you need from the fitted model object, and save that in a new object of your design.