You are here

saving / loading models

5 posts / 0 new
Last post
khusmann's picture
Offline
Joined: 08/11/2019 - 19:19
saving / loading models

Hello all,

Thanks for all the work on OpenMx!

I know about mxSave and mxRestore, but when I run mxRestore I still have to use mxRun to compute all the numerical derivs before I can print a summary() of the model's results. This can take a while if I am reading in many models.

Would it be possible for mxSave and mxRestore to also save/restore the derivs that are computed in the last step? This way I can run a model, save it, and then instantly load it later when I want to work with the results.

Thanks for your time!
Kyle

jpritikin's picture
Offline
Joined: 05/24/2012 - 00:35
better mxSave/mxRestore

Yes, that's the plan, 230

AdminRobK's picture
Offline
Joined: 01/24/2014 - 12:15
mxComputeCheckpoint()

In the current release, can the derivatives be saved & restored via mxComputeCheckpoint()?

jpritikin's picture
Offline
Joined: 05/24/2012 - 00:35
restore

Save for gradients and vcov is implemented, but not restore. It wouldn't take much work to implement restore. Patches welcome.

khusmann's picture
Offline
Joined: 08/11/2019 - 19:19
Sorry for the delay in reply;

Sorry for the delay in reply; I didn't realize my forum account wasn't configured to send me email notifications of replies.

Thanks for your work on this!