[ENH] by_level
argument for TimeSince
transformer
#4475
Labels
enhancement
Adding new functionality
module:transformations
transformations module: time series transformation, feature extraction, pre-/post-processing
It would be useful to have a "time since earliest index at level x" option for
TimeSince
.E.g., for
by_level=-1
, it would count time since the earliest time stamp in the instance, etc.A "cheap" way to achieve that would be to set the
X_inner_mtype
tag to includePanel
mtypes or not, depending on the parameter, although that way one could pool only instances, panels, and overall.Any thoughts, @KishManani?
This is an inspiration from today's meet-up (message link) where we found out that some estimators have strange behaviour if the panel is equal length but unequal index, so a pre-processing step which ensures equal length and equal index would be nice - and as it happens to be, it would be the same as
TimeSince
with theby_level
argument.The text was updated successfully, but these errors were encountered: