Replies: 2 comments 2 replies
-
Also have the same question - any update on time series forecasters |
Beta Was this translation helpful? Give feedback.
-
Is it or will it be possible to make use of numpy masked arrays https://numpy.org/doc/stable/reference/maskedarray.generic.html to pass time series of unequal length to sktime? I imagine to pass a numpy (masked) array X with X.shape = [num_time_series, num_features, max_length_time_series] Alternatively: is there a conversion function for sich numpy masked arrays to a suitable pandas data frame (if that exists)? |
Beta Was this translation helpful? Give feedback.
-
As this is a frequently asked question, I'm summarizing an answer to this.
(mid-term, we probably want to put this in the tutorials)
There are two main ways to deal with unequal length or irregularly spaced time series:
capability:unequal_length
- despite the name, afaik current estimators of this type can deal with both unequal length and irregular spacing. To search, useregistry.all_estimators
(and see docstring).capability:unequal_length:removes
, search withregistry.all_estimators
. To pipeline, usepipeline.make_pipeline
(and see docstring). Eamples would beTimeBinAggregate
fromseries.binning
, orTSInterpolator
frompanel.interpolate
.If the above does not work as implied, please raise a bug report here:
https://github.com/sktime/sktime/issues/new?assignees=&labels=bug&template=bug_report.md&title=%5BBUG%5D
Beta Was this translation helpful? Give feedback.
All reactions