luminaire icon indicating copy to clipboard operation
luminaire copied to clipboard

Extracting time series components dataframe

Open lventosa opened this issue 2 years ago • 1 comments

Hello!

Is there any way to extract the dataframes containing the decomposition of the time series? That is, one column for the trend, another for the seasonality, etc.

Thanks

lventosa avatar Dec 10 '21 14:12 lventosa

You can use the _params attribute for a trained model which contains all the training related information. Specifically, to get the model coefficients related info, you can do something like this:

model._params['model'].summary()

Here, model represents a trained structural model object: luminaire.model.lad_structural.LADStructuralModel

sayanchk avatar Dec 14 '21 05:12 sayanchk