zemlyansky / arima

ARIMA, SARIMA, SARIMAX and AutoARIMA models for time series analysis and forecasting in the browser and Node.js

Home Page:https://www.npmjs.com/arima

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any way to serialize or rehydrate without retraining?

jtlapp opened this issue · comments

I need to be able to do the following:

  1. Train on one computer and upload the model for prediction on a server.
  2. Repeatedly apply a model to different circumstances.

I think I could solve both problems if there were a way to serialize and deserialize ARIMA instances.

I experimented with serializing ARIMA instances via JSON.stringify and deserializing them into stub ARIMA instances, but the resulting predictions are wildly different, so that didn't work.