antoinecarme / pyaf

PyAF is an Open Source Python library for Automatic Time Series Forecasting built on top of popular pydata modules.
BSD 3-Clause "New" or "Revised" License
459 stars 72 forks source link

Add some tests for pyaf models serialization #51

Closed antoinecarme closed 6 years ago

antoinecarme commented 7 years ago

All pyaf objects should be "picklable".

antoinecarme commented 7 years ago

We need :

  1. check that any type of model (trend, cycle, AR, SVR, RNN) is picklable.
  2. Add some versioning to allow unpickling very old models.
  3. Adapt all the automatic tests to contain some serialization step.
antoinecarme commented 7 years ago

Nothing is made to prevent normal pickling/unpickling of PyAF models. Some models however are a little bit tricky (Keras models).

antoinecarme commented 6 years ago

Some 3000 tests include now a test that serializes the model after training and forecasts the un-serialized version.