msm icon indicating copy to clipboard operation
msm copied to clipboard

Saving msm model without underlying data

Open AlexKram opened this issue 6 years ago • 1 comments

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. :)

AlexKram avatar Jun 11 '18 11:06 AlexKram

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.

chjackson avatar Jun 11 '18 13:06 chjackson