sryza/spark-timeseries

Save ARIMAModel on storage system (like HDFS) for future reference

nikitaGoyal2 opened this issue · 2 comments

I have been trying to save ARIMAModel on hdfs system, but failed. And also I can't save it on storage using JAVA API since ARIMAModel is not serialized.

Java API :
ObjectOutputStream modelsave = new ObjectOutputStream(new FileOutputStream(""));
modelsave.writeObject(model);

sryza commented

Hi @nikitaGoyal2. To address this issue, I just pushed a change that makes time series models serializable: ef41fad

@sryza Thanks Sandy for the quick update.