8000 Add primitive to make window_sequences based on cutoff times · Issue #217 · MLBazaar/MLPrimitives · GitHub
[go: up one dir, main page]

Skip to content

Add primitive to make window_sequences based on cutoff times #217

@csala

Description

@csala

We already have the timeseries_preprocessing.rolling_window_sequences primitive, which creates an array of 2D matrices by rolling a window of fixed size over the time index axis.

However, when working with fixed time training samples, with an associated cutoff_time, this is not enough.

In this issue, a cutoff_window_sequences primitive should be added, which takes as input a timeseries dataframe, a list of cutoff times and a window size, and creates an array of matrices, each one ending right before the cutoff time.

Metadata

Metadata

Assignees

Labels

approvedThe issue is approved and someone can start working on itnew primitivesA new primitive is being requested

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0