nlmixr2 / nlmixr2est

nlmixr2 estimation routines
https://nlmixr2.github.io/nlmixr2est/
GNU General Public License v2.0
7 stars 3 forks source link

nlmixr2::nlmixr2 for SAEM - implement live traceplot (as done for Monolix) #369

Open iamstein opened 1 year ago

iamstein commented 1 year ago

Monolix offers a live traceplot graphic while SAEM is running. This is nice because it gives you an early indicator if your run is having convergence issues and if so, what parameters are causing the problem. This way, instead of waiting for all the iterations to complete before recognizing the issue, you might be able to spot it early on, stop the run, and fix the issue.

Here's a video at 6:35, though they sped up the run time considerably in the video. https://youtu.be/CyhstNWJeJY?t=395

A possible interim fix would be to allow the user to set the width of the Fit Data object to a very large value so at least, one could try and look at the numbers and they'd all line up well. For instance, when there are a lot of parameters, the output might look like this: image

but it's much more readable if it's one row per iteration and I could use the left-right scroll bars if needed. though it'd be nice too if the parameters and columns lined up. image

mattfidler commented 1 year ago

I agree. I also think adding iterations to a phase would be nice like Monolix, though that may be a bit more work 😄

mattfidler commented 1 year ago

Transferred to nlmixr2est where the work would actually need to be completed.