-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
There could be use cases for caching at several levels, e.g.
CachingForwardModel(model), checkstimesandparametersagainst a (limited size?) dict and returns cached results if possible. Not sure when you'd use thisCachingSingle/MultiSeriesProblem(problem), checksparametersagainst a (limited size?) dict and returns cached results if possible. Useful in Handling outputs from the same model with different likelihoods / score functions #1403 .CachingLikelihoodandCachingError, checksparametersagainst a (limited size?) dict and returns cached results if possible, useful if we expect methods to test the same parameter sets multiple times (do we?)
I've written them as wrapper classes here, as that's the minimal effort for developers solution (no changes to underlying classes). But we could also consider updating the base classes with some reusable caching code and making all derived classes use it
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels