cohorts icon indicating copy to clipboard operation
cohorts copied to clipboard

Add capability to cache fitted Stan models [WIP]

Open jburos opened this issue 8 years ago • 1 comments

In some cohorts we end up fitting long-running Stan models as part of the analysis process.

It would be convenient to be able to cache these fitted objects (in much the same way that other data points are cached, ie variant-effects, etc), but retain the option of invalidating the cache if the underlying data have changed. Perhaps something along the lines of a memoization would be useful.

This idea isn't 100% fleshed out yet but putting it here to keep track of it.

jburos avatar Sep 12 '16 17:09 jburos

Most of this work has been done, and implemented in the stancache library. Next step is to incorporate those capabilities into Cohorts.

jburos avatar Nov 05 '16 13:11 jburos