pydlm icon indicating copy to clipboard operation
pydlm copied to clipboard

How to use pydlm trained model from a dataset on a new test dataset

Open XinLi1202 opened this issue 7 years ago • 0 comments

I generated a dlm model using pydlm method. How can I apply this model to do the prediction of a new dataset?

from pydlm import dlm, trend, seasonality, dynamic, autoReg, longSeason myDLM = dlm(dataset1) myDLM.add(trend(degree=0, discount=0.99, name='trend2')) filter = myDLM.predict (new dataset) ??

Thank you!

XinLi1202 avatar Aug 20 '18 14:08 XinLi1202