pints-team / pints

Probabilistic Inference on Noisy Time Series
http://pints.readthedocs.io
Other
228 stars 33 forks source link

Set something up so that optimisation/inference can be stopped and restarted #194

Closed MichaelClerx closed 4 months ago

MichaelClerx commented 6 years ago

The ask-and-tell interface (#132) takes care of part of this, but it'd also be good to store the internal state of our optimisers/inferers to disk, perhaps using pickling ?

MichaelClerx commented 6 years ago

TODO: Have a quick look at https://pythonhosted.org/joblib/

MichaelClerx commented 4 years ago

@martinjrobins @ben18785 please add Freya to this ticket if she decides to take it up :-)

Rough idea of how to implement it:

martinjrobins commented 4 years ago

@MichaelClerx : points 3 and 4 seem contradictory, what do you mean that copy.deepcopy is not required, its part of the standard library isn't it?

MichaelClerx commented 4 years ago

Sorry, I meant that the interface shouldn't be written such that implementations require deepcopy. I.E. it should be possible to write a custom implementation instead

MichaelClerx commented 3 years ago

Via a different route I've hit on https://joblib.readthedocs.io/en/latest/ again :D