8000 TimeSeriesSplit with anchour option · Issue #8249 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
TimeSeriesSplit with anchour option #8249
Closed
@rspadim

Description

@rspadim

hi guys, i don't know yet how generators work with sklearn / python, i'm new here... could be possible a version of TimeSeriesSplit with rolling window?

https://www.mathworks.com/help/econ/rolling-window-estimation-of-state-space-models.html

for example instead of :
[0, 1, 2] [3]
[0, 1, 2, 3] [4]
[0, 1, 2, 3, 4] [5]
produce something like (window-size=2)
[0, 1] [2]
[1, 2] [3]
[2, 3] [4]
[4, 5] [6]
[5, 6] [7]
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0