Features of timeseries using feast_stl

I am trying the get seasonality and trend analysis from time series. I loaded feasts library.

When i pass time series object to features() function, i get an error
no applicable method for 'features' applied to an object of class "ts"

I looked at the details of features() function, it expects a dataset as first parameter.

Question is how to convert a time series object to a dataset ?

The principal author of the package has an online text that gives examples.

1 Like

Section 2.1 explains the tsibble data format required for fable, fabletools and feasts. I still recommend that you read the first few chapters first.


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.