Open alex-hse-repository opened 2 years ago
Replace per-segment iteration in some transforms
This might make it a bit faster
Rewrite this procedure without a cycle in the following transforms:
WindowStatisticsTransform
DateFlagsTransform
TimeFlagsTransform
FourierTransform
Make sure that it passes the current tests
No response
This task was closed for WindowStatisticsTransform in #625
https://github.com/tinkoff-ai/etna/blob/d0ed655013c9ea4b9bc21958ae305dad4da43194/etna/transforms/timestamp/time_flags.py#L152
https://github.com/tinkoff-ai/etna/blob/d0ed655013c9ea4b9bc21958ae305dad4da43194/etna/transforms/timestamp/date_flags.py#L221
https://github.com/tinkoff-ai/etna/blob/d0ed655013c9ea4b9bc21958ae305dad4da43194/etna/transforms/timestamp/fourier.py#L112
🚀 Feature Request
Replace per-segment iteration in some transforms
Motivation
This might make it a bit faster
Proposal
Rewrite this procedure without a cycle in the following transforms:
WindowStatisticsTransform
DateFlagsTransform
TimeFlagsTransform
FourierTransform
(you will find the same piece of code)Test cases
Make sure that it passes the current tests
Alternatives
No response
Additional context
No response
Checklist